Class RegisteredMemoryReference

    Definition

    Namespace:
    Tizen.Security.TEEC
    Assembly:
    Tizen.Security.TEEC.dll

    This type defines a memory reference that uses a pre-registered or pre-allocated shared memory block.

    public sealed class RegisteredMemoryReference : BaseParameter<TEFRegisteredMemoryType>
    Inheritance
    object
    Parameter
    BaseParameter<TEFRegisteredMemoryType>
    RegisteredMemoryReference

    Constructors

    View Source

    RegisteredMemoryReference(SharedMemory, uint, uint, TEFRegisteredMemoryType)

    Constructs a parameter object which holds information about the registered memory shared with TA.

    Declaration
    public RegisteredMemoryReference(SharedMemory parent, uint size, uint offset, TEFRegisteredMemoryType type)
    Parameters
    Type Name Description
    SharedMemory parent

    The shared memory - registered or allocated.

    uint size

    The size of the buffer part.

    uint offset

    The offset of the buffer in the shared memory.

    TEFRegisteredMemoryType type

    The kind of access allowed for TA TEFRegisteredMemoryType.

    Properties

    View Source

    Offset

    This property represents the offset (in bytes) from the start of the shared memory.

    Declaration
    public uint Offset { get; }
    Property Value
    Type Description
    uint
    View Source

    Parent

    This property represents the shared memory that is referred to.

    Declaration
    public SharedMemory Parent { get; }
    Property Value
    Type Description
    SharedMemory
    View Source

    Size

    This property represents the size (in bytes) of the shared memory.

    Declaration
    public uint Size { get; }
    Property Value
    Type Description
    uint
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX