![]() |
TrustCore SDK NanoCert API reference
version 7.0
|
Certificate context (information required to manage a DER-encoded X.509 certificate). More...
Data Fields | |
ubyte4 | certLength |
Number of bytes in pCertificate . More... | |
ubyte4 | cookie |
Application-specific cookie. More... | |
ubyte4 | keyBlobLength |
Number of bytes in pKeyBlob . More... | |
ubyte * | pCertificate |
Pointer to DER-encoded X.509 certificate. More... | |
struct AsymmetricKey * | pKey |
Pointer to asymmetric key; if defined, use this instead of pKeyBlob . More... | |
ubyte * | pKeyBlob |
Pointer to key blob value. More... | |
This structure encapsulates the required context of a DER-encoded X.509 certificate. An entity using a certificate for authentication must have access to the corresponding public and private key pair used to sign the certificate. Digicert SoT Platform provides API functions for generating and importing certificates; those API functions use the certDescriptor
structure for passing certificate information.
ubyte4 certDescriptor::certLength |
Number of bytes in pCertificate
.
ubyte4 certDescriptor::cookie |
Application-specific cookie.
__ENABLE_MOCANA_64_BIT__
flag is defined, only the ubyte4
cookie
field (not the ubyte8
cookie
field) is included in the structure. If the flag is not defined, only the ubyte8
cookie
(not the ubyte4
cookie) is included. ubyte4 certDescriptor::keyBlobLength |
Number of bytes in pKeyBlob
.
ubyte* certDescriptor::pCertificate |
Pointer to DER-encoded X.509 certificate.
struct AsymmetricKey* certDescriptor::pKey |
Pointer to asymmetric key; if defined, use this instead of pKeyBlob
.
ubyte* certDescriptor::pKeyBlob |
Pointer to key blob value.