Using a CERT_INFO Data Structure

CERT_CONTEXT AND CERT_INFO are the main data structures holding the information in a certificate. When a certificate is used, it may need to be decoded. For more information, see Decoding a CERT_INFO Structure. Information may be added to a decoded CERT_INFO structure and then the structure can be re-encoded. For details, see Encoding a CERT_INFO Structure.