![]() |
TrustCore SDK NanoCert API reference
version 7.0
|
Content to be published in the PKCS #12 file with the privacy mode. More...
Data Fields | |
ubyte4 | certificateLen |
Length of certificate file to publish, PKCS12DataObject::pCertificate . More... | |
ubyte4 | crlLen |
Length of the CRL data object to publish, KCS12DataObject::pCrl . More... | |
certTypes | eCertType |
Type of certificate; any of the certTypes enum values from pkcs12.h. More... | |
ubyte4 | encKeyType |
PKCS #8 encrytion key type; any of the PKCS8EncryptionType enum values from pkcs_key.h. More... | |
ubyte4 | keyPasswordLen |
Length of the password (in bytes). More... | |
ubyte4 | numPKCS12AttrValue |
Number of PKCS12AtttributeUserValue instances in ppPKCS12AttrValue . More... | |
ubyte * | pCertificate |
DER-encoded certificate file to publish in PKCS #12. More... | |
ubyte * | pCrl |
Stream containing the CRL to publish in PKCS #12. More... | |
const ubyte * | pKeyPassword |
Password for key encryption. More... | |
PKCS12AttributeUserValue ** | ppPKCS12AttrValue |
NULL if no parameters required; otherwise pointer to PKCS12AtttributeUserValue object instance(s). More... | |
AsymmetricKey * | pPrivateKey |
Private key to publish in PKCS #12. More... | |
ePKCS12Mode | privacyMode |
Encryption and integrity to apply to the data; any of the ePKCS12Mode enum values from pkcs12.h. More... | |
Content to be published in the PKCS #12 file with the privacy mode.
ubyte4 PKCS12DataObject::certificateLen |
Length of certificate file to publish, PKCS12DataObject::pCertificate
.
ubyte4 PKCS12DataObject::crlLen |
Length of the CRL data object to publish, KCS12DataObject::pCrl
.
certTypes PKCS12DataObject::eCertType |
Type of certificate; any of the certTypes
enum values from pkcs12.h.
ubyte4 PKCS12DataObject::encKeyType |
PKCS #8 encrytion key type; any of the PKCS8EncryptionType
enum values from pkcs_key.h.
ubyte4 PKCS12DataObject::keyPasswordLen |
Length of the password (in bytes).
ubyte4 PKCS12DataObject::numPKCS12AttrValue |
Number of PKCS12AtttributeUserValue instances in ppPKCS12AttrValue
.
ubyte* PKCS12DataObject::pCertificate |
DER-encoded certificate file to publish in PKCS #12.
ubyte* PKCS12DataObject::pCrl |
Stream containing the CRL to publish in PKCS #12.
const ubyte* PKCS12DataObject::pKeyPassword |
Password for key encryption; either of the following:
PrivateKeyInfo
.PKCS12AttributeUserValue** PKCS12DataObject::ppPKCS12AttrValue |
NULL if no parameters required; otherwise pointer to PKCS12AtttributeUserValue object instance(s).
AsymmetricKey* PKCS12DataObject::pPrivateKey |
Private key to publish in PKCS #12.
ePKCS12Mode PKCS12DataObject::privacyMode |
Encryption and integrity to apply to the data; any of the followoing ePKCS12Mode
enum values from pkcs12.h:
PKCS12Mode_Privacy_none
(the mode will default to PKCS12Mode_Privacy_password
)PKCS12Mode_Privacy_data
PKCS12Mode_Privacy_password
PKCS12Mode_Privacy_pubKey
PKCS12Mode_Integrity_password
PKCS12Mode_Integrity_pubKey