Class RegisteredMemoryReference

Definition

Namespace:
Tizen.Security.TEEC
Assembly:
Tizen.Security.TEEC.dll
API Level:
3

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

C#
Copy
public sealed class RegisteredMemoryReference : BaseParameter<TEFRegisteredMemoryType>
Inheritance
System.Object
RegisteredMemoryReference

Constructors

View Source

RegisteredMemoryReference(SharedMemory, UInt32, UInt32, TEFRegisteredMemoryType)

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

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

The shared memory - registered or allocated.

System.UInt32 size

The size of the buffer part.

System.UInt32 offset

The offset of the buffer in the shared memory.

TEFRegisteredMemoryType type

The kind of access allowed for TA TEFRegisteredMemoryType.

API Level: 3
Privilege Level: partner
Privilege: http://tizen.org/privilege/tee.client

Properties

View Source

Offset

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

Declaration
C#
Copy
public uint Offset { get; }
Property Value
Type Description
System.UInt32
API Level: 3
Privilege Level: partner
Privilege: http://tizen.org/privilege/tee.client
View Source

Parent

This property represents the shared memory that is referred to.

Declaration
C#
Copy
public SharedMemory Parent { get; }
Property Value
Type Description
SharedMemory
API Level: 3
Privilege Level: partner
Privilege: http://tizen.org/privilege/tee.client
View Source

Size

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

Declaration
C#
Copy
public uint Size { get; }
Property Value
Type Description
System.UInt32
API Level: 3
Privilege Level: partner
Privilege: http://tizen.org/privilege/tee.client