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.
The IX509AttributeArchiveKey interface inherits from IX509Attribute. IX509AttributeArchiveKey also has these types of members:
The IX509AttributeArchiveKey interface has these methods.
Retrieves a byte array that contains the encrypted key.
Retrieves the object identifier (OID) of the symmetric encryption algorithm used to encrypt the private key.
Retrieves an integer that contains the encryption strength of the symmetric algorithm used to encrypt the key.
Initializes the object from a Distinguished Encoding Rules (DER) encoded byte array that contains the encrypted private key.
Initializes the attribute from an IX509PrivateKey object, the certification authority encryption certificate, and the symmetric encryption algorithm object identifier (OID).
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|