IX509AttributeCspProvider interface (certenroll.h)

The IX509AttributeCspProvider interface represents an attribute that identifies the cryptographic provider used by the entity requesting the certificate. Cryptographic providers and key containers are used to generate and store keys and perform encryption, signing, and hashing.

This attribute is automatically placed in the PKCS #10 attribute collection when you call the Encode method.

Inheritance

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

Methods

The IX509AttributeCspProvider interface has these methods.

 
IX509AttributeCspProvider::get_KeySpec

Retrieves a value that identifies whether the key pair stored by the provider or key container is used for encryption or for signing content.
IX509AttributeCspProvider::get_ProviderName

Retrieves the provider name.
IX509AttributeCspProvider::get_Signature

Retrieves the digital signature on the provider.
IX509AttributeCspProvider::InitializeDecode

Initializes the object from a Distinguished Encoding Rules (DER) encoded byte array that contains information about the provider.
IX509AttributeCspProvider::InitializeEncode

Initializes the attribute from information about the provider.

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