[][src]Function sgx_tservice::rsgx_get_ps_sec_prop_ex

pub fn rsgx_get_ps_sec_prop_ex() -> SgxResult<sgx_ps_sec_prop_desc_ex_t>

rsgx_get_ps_sec_prop_ex gets a data structure describing the security property of the platform service.

Description

Gets a data structure that describes the security property of the platform service.

The caller should call rsgx_create_pse_session to establish a session with the platform service enclave before calling this API.

Requirements

Header: sgx_tae_service.edl

Library: libsgx_tservice.a

Return value

The security property descriptor of the platform service

Errors

SGX_ERROR_INVALID_PARAMETER

Any of the pointers is invalid.

SGX_ERROR_AE_SESSION_INVALID

Session is not created or has been closed by architectural enclave service.