TrustCore SDK NanoCert API reference  version 7.0
pkcs8.h File Reference

Header file for SoT Platform PKCS #8 convenience API. More...

Go to the source code of this file.

Functions

MOC_EXTERN MSTATUS PKCS8_decodePrivateKeyDER (const ubyte *pFileDerPkcs8, ubyte4 fileSizeDerPkcs8, ubyte **ppRsaKeyBlob, ubyte4 *pRsaKeyBlobLength)
 Extract a private key from a DER-encoded PKCS #8 object. More...
 
MOC_EXTERN MSTATUS PKCS8_decodePrivateKeyPEM (const ubyte *pFilePemPkcs8, ubyte4 fileSizePemPkcs8, ubyte **ppRsaKeyBlob, ubyte4 *pRsaKeyBlobLength)
 Extract a private key from a PEM-encoded PKCS #8 object. More...
 

Detailed Description

Header file for SoT Platform PKCS #8 convenience API.