Trait optee_utee::property::PropertyKey

source ·
pub trait PropertyKey {
    type Output: PropertyValue;

    // Required methods
    fn key(&self) -> CString;
    fn set(&self) -> PropertySet;

    // Provided method
    fn get(&self) -> Result<Self::Output> { ... }
}
Expand description

Represents a TEE property key. The property key is used to identify a specific property within a property set. The property key is a string that is used to query the property value from the TEE property set. The property key is defined in the TEE Internal API, such as “gpd.client.identity” or “gpd.tee.apiversion”.

Required Associated Types§

Required Methods§

source

fn key(&self) -> CString

source

fn set(&self) -> PropertySet

Provided Methods§

source

fn get(&self) -> Result<Self::Output>

Implementors§

source§

impl PropertyKey for ClientEndian

§

type Output = u32

source§

impl PropertyKey for ClientIdentity

source§

impl PropertyKey for TaAppId

§

type Output = Uuid

source§

impl PropertyKey for TaDataSize

§

type Output = u32

source§

impl PropertyKey for TaDescription

source§

impl PropertyKey for TaDoesNotCloseHandleOnCorruptObject

§

type Output = bool

source§

impl PropertyKey for TaEndian

§

type Output = u32

source§

impl PropertyKey for TaInstanceKeepAlive

§

type Output = bool

source§

impl PropertyKey for TaMultiSession

§

type Output = bool

source§

impl PropertyKey for TaSingleInstance

§

type Output = bool

source§

impl PropertyKey for TaStackSize

§

type Output = u32

source§

impl PropertyKey for TaVersion

source§

impl PropertyKey for TeeApiVersion

source§

impl PropertyKey for TeeArithMaxBigIntSize

§

type Output = u32

source§

impl PropertyKey for TeeCryptographyBsiR

§

type Output = bool

source§

impl PropertyKey for TeeCryptographyBsiT

§

type Output = bool

source§

impl PropertyKey for TeeCryptographyEcc

§

type Output = bool

source§

impl PropertyKey for TeeCryptographyIetf

§

type Output = bool

source§

impl PropertyKey for TeeCryptographyNist

§

type Output = bool

source§

impl PropertyKey for TeeCryptographyOcta

§

type Output = bool

source§

impl PropertyKey for TeeDescription

source§

impl PropertyKey for TeeDeviceId

§

type Output = Uuid

source§

impl PropertyKey for TeeEventMaxSources

§

type Output = u32

source§

impl PropertyKey for TeeFirmwareImplementationBinaryVersion

§

type Output = Vec<u8>

source§

impl PropertyKey for TeeFirmwareImplementationVersion

source§

impl PropertyKey for TeeFirmwareManufacturer

source§

impl PropertyKey for TeeInternalCoreVersion

§

type Output = u32

source§

impl PropertyKey for TeeSystemTimeProtectionLevel

§

type Output = u32

source§

impl PropertyKey for TeeTaPersistentTimeProtectionLevel

§

type Output = u32

source§

impl PropertyKey for TeeTrustedOsImplementationBinaryVersion

§

type Output = Vec<u8>

source§

impl PropertyKey for TeeTrustedOsImplementationVersion

source§

impl PropertyKey for TeeTrustedOsManufacturer

source§

impl PropertyKey for TeeTrustedStorageAntiRollbackProtectionLevel

§

type Output = u32

source§

impl PropertyKey for TeeTrustedStoragePersoRollbackProtection

§

type Output = u32

source§

impl PropertyKey for TeeTrustedStoragePrivateRollbackProtection

§

type Output = u32

source§

impl PropertyKey for TeeTrustedStorageProtectedRollbackProtection

§

type Output = u32

source§

impl PropertyKey for TeeTrustedStorageRollbackDetectionProtectionLevel

§

type Output = u32