TrustCore SDK NanoCert API reference  version 7.0
CMS_Callbacks Struct Reference

Pointers to functions required by the internal CMS parser. More...

Data Fields

CMS_GetCertificate getCertFun
 Pointer to the CMS_GetCertificate() callback function. More...
 
CMS_GetPrivateKey getPrivKeyFun
 Pointer to the CMS_GetPrivateKey() callback function. More...
 
CMS_ValidateRootCertificate valCertFun
 Pointer to the CMS_ValidateRootCertificate() callback function. More...
 

Detailed Description

This structure provides pointers to functions that can get the private key for a particular subject, validate a root certificate, and search a CStream for a certificate that matches a specified issuer name and serial number.

The contained callback functions must conform to the following prototypes:

Field Documentation

◆ getCertFun

CMS_GetCertificate CMS_Callbacks::getCertFun

Pointer to the CMS_GetCertificate() callback function.

◆ getPrivKeyFun

CMS_GetPrivateKey CMS_Callbacks::getPrivKeyFun

Pointer to the CMS_GetPrivateKey() callback function.

◆ valCertFun

CMS_ValidateRootCertificate CMS_Callbacks::valCertFun

Pointer to the CMS_ValidateRootCertificate() callback function.


The documentation for this struct was generated from the following file: