11.12.3.4.228. Function sss_mbedtls_associate_pubkey

11.12.3.4.228.1. Function Documentation

int sss_mbedtls_associate_pubkey(mbedtls_pk_context *pkey, sss_object_t *pkeyObject)

Associate a pubkey provisioned in the secure element for subsequent operations.

Return

0 if successful, or 1 if unsuccessful

Parameters
  • [out] pkey: Pointer to the mbedtls_pk_context which will be associated with data corresponding to the key index

  • [in] pkeyObject: The object that we are going to be use.