IX509AttributeArchiveKey interface

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.

Members

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

Methods

The IX509AttributeArchiveKey interface has these methods.

MethodDescription
InitializeDecode

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

InitializeEncode

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

 

Properties

The IX509AttributeArchiveKey interface has these properties.

PropertyDescription

EncryptedKeyBlob

Retrieves a byte array that contains the encrypted key.

EncryptionAlgorithm

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

EncryptionStrength

Retrieves an integer that contains the encryption strength of the symmetric algorithm used to encrypt the key. This property is not used.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

CertEnroll.h

DLL

CertEnroll.dll

See also

CertEnroll Interfaces
IX509Attribute
IX509Attributes

 

 

Community Additions

ADD
Show: