|
Returns a public key that is associated with the identity of the enclave and the specified policy.
- Parameters
-
seal_policy | The policy for the identity properties used to derive the key. |
key_params | The parameters for the asymmetric key derivation. |
key_buffer | A pointer to the buffer that on success contains the requested public key. |
key_buffer_size | On success, this contains size of key_buffer. |
key_info | Optional pointer to a buffer for the enclave-specific key information which can be used to retrieve the same key later on a newer security version. |
key_info_size | On success, this contains the size of key_info. |
- Return values
-
OE_OK | The key was successfully requested. |
OE_INVALID_PARAMETER | At least one parameter is invalid. |
OE_OUT_OF_MEMORY | There is no memory available. |
OE_UNEXPECTED | An unexpected error happened. |
|