18 #ifndef __PKCS8_HEADER__ 19 #define __PKCS8_HEADER__ 27 #ifdef __ENABLE_MOCANA_PKCS8__ 71 MOC_EXTERN MSTATUS
PKCS8_decodePrivateKeyPEM(
const ubyte* pFilePemPkcs8, ubyte4 fileSizePemPkcs8, ubyte** ppRsaKeyBlob, ubyte4 *pRsaKeyBlobLength);
117 MOC_EXTERN MSTATUS
PKCS8_decodePrivateKeyDER(
const ubyte* pFileDerPkcs8, ubyte4 fileSizeDerPkcs8, ubyte** ppRsaKeyBlob, ubyte4 *pRsaKeyBlobLength);
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.
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.