RSA Security logo

RSA BSAFE Cert-C
API Reference

KEY_CONTENT Reference

Represents the contents of a PKCS #12 key bag.

It consists of a private key and a certificate that contains the matching public key for the private key.

Having a PKCS12_BAG.content.keyContent present in a list of PKCS12_BAG structures only inserts a private key into the PKCS #12 being created. To add the matching certificate, the caller must provide a PKCS12_BAG.content.CERT_CONTENT.
Data Fields
key A B_KEY_OBJ object that contains the private key object.
cert A CERT_OBJ object that holds the certificate that contains the matching public key for the private key in key.

#include <pkcs12.h>

00077 typedef struct KEY_CONTENT {
00078   B_KEY_OBJ key;
00079   CERT_OBJ  cert;
00080 } KEY_CONTENT;

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


RSA BSAFE® Cert-C 2.7 API Reference