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

Digicert SoT Platform PKCS #10 developer API header. More...

Go to the source code of this file.

Functions

MOC_EXTERN MSTATUS PKCS10_CertReqToCSR (const ubyte *pCertReq, ubyte4 pCertReqLength, ubyte **ppCsr, ubyte4 *pCsrLength)
 Generate a text representation of a DER-encoded certificate request. More...
 
MOC_EXTERN MSTATUS PKCS10_GenerateCertReqFromASN1Name (AsymmetricKey *pKey, ubyte signAlgo, const ubyte *pASN1Name, ubyte4 asn1NameLen, const requestAttributes *pReqAttrs, ubyte **ppCertReq, ubyte4 *pCertReqLength)
 Generate a DER-encoded PKCS #10 certificate request for a given ASN.1 name. More...
 
MOC_EXTERN MSTATUS PKCS10_GenerateCertReqFromDN (AsymmetricKey *pKey, ubyte signAlgo, const certDistinguishedName *pCertInfo, const requestAttributes *pReqAttrs, ubyte **ppCertReq, ubyte4 *pCertReqLength)
 Generate a DER-encoded PKCS #10 certificate request for a given distinguished name. More...
 
MOC_EXTERN MSTATUS PKCS10_GenerateCertReqFromDNEx (AsymmetricKey *pKey, ubyte signAlgo, const certDistinguishedName *pCertInfo, const requestAttributesEx *pReqAttrs, ubyte **ppCertReq, ubyte4 *pCertReqLength)
 This is the same as PKCS10_GenerateCertReqFromDN, except that it takes a requestAttributesEx. More...
 

Detailed Description

This header file contains structures, enumerations, and function declarations used for Digicert SoT Platform PKCS #10 operations.

Since
1.41
Version
6.4 and later

Whether the following flags are defined determines which function declarations and callbacks are enabled:

  • __ENABLE_MOCANA_PKCS10__

pkcs10.h