IX509AttributeArchiveKey interface (certenroll.h)

The IX509AttributeArchiveKey interface represents an attribute that contains an encrypted private key to be archived by a certification authority. The key is attached as an unauthenticated attribute to the primary signature of a CMC request. The hash of the encrypted key is encoded as an authenticated attribute in the CMC request. For more information, see the IX509AttributeArchiveKeyHash interface.

Inheritance

The IX509AttributeArchiveKey interface inherits from IX509Attribute. IX509AttributeArchiveKey also has these types of members:

Methods

The IX509AttributeArchiveKey interface has these methods.

 
IX509AttributeArchiveKey::get_EncryptedKeyBlob

Retrieves a byte array that contains the encrypted key.
IX509AttributeArchiveKey::get_EncryptionAlgorithm

Retrieves the object identifier (OID) of the symmetric encryption algorithm used to encrypt the private key.
IX509AttributeArchiveKey::get_EncryptionStrength

Retrieves an integer that contains the encryption strength of the symmetric algorithm used to encrypt the key.
IX509AttributeArchiveKey::InitializeDecode

Initializes the object from a Distinguished Encoding Rules (DER) encoded byte array that contains the encrypted private key.
IX509AttributeArchiveKey::InitializeEncode

Initializes the attribute from an IX509PrivateKey object, the certification authority encryption certificate, and the symmetric encryption algorithm object identifier (OID).

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h

See also

CertEnroll Interfaces

IX509Attribute

IX509Attributes