IEnroll2 interface (xenroll.h)

[This interface is no longer available for use as of Windows Server 2008 and Windows Vista.]

The IEnroll2 interface represents the Certificate Enrollment Control and is used primarily to generate certificate requests.

Inheritance

The IEnroll2 interface inherits from IEnroll. IEnroll2 also has these types of members:

Methods

The IEnroll2 interface has these methods.

 
IEnroll2::EnumAlgs

Retrieves the IDs of cryptographic algorithms in a given algorithm class that are supported by the current cryptographic service provider (CSP).
IEnroll2::get_EnableSMIMECapabilities

Controls whether the PKCS (Get)
IEnroll2::get_HashAlgID

The HashAlgID property of IEnroll4 sets or retrieves the hash algorithm used when signing a PKCS (Get)
IEnroll2::get_LimitExchangeKeyToEncipherment

The LimitExchangeKeyToEncipherment property of IEnroll4 sets or retrieves a Boolean value that determines whether an AT_KEYEXCHANGE request contains digital signature and nonrepudiation key usages. (Get)
IEnroll2::get_ReuseHardwareKeyIfUnableToGenNew

The ReuseHardwareKeyIfUnableToGenNew property of IEnroll4 sets or retrieves a Boolean value that determines the action taken by the certificate enrollment control object if an error is encountered when generating a new key. (Get)
IEnroll2::GetAlgNameWStr

Retrieves the name of a cryptographic algorithm given its ID. The values retrieved by this method depend on the current cryptographic service provider (CSP).
IEnroll2::GetKeyLen

The IEnroll4::GetKeyLen method retrieves the minimum and maximum key lengths for the signature and exchange keys.
IEnroll2::GetSupportedKeySpec

Retrieves information regarding the current cryptographic service provider (CSP) support for signature and/or exchange operations.
IEnroll2::InstallPKCS7Blob

Processes a certificate or chain of certificates, placing them into the appropriate certificate stores. This method differs from the acceptPKCS7Blob method in that InstallPKCS7Blob does not receive a request certificate.
IEnroll2::put_EnableSMIMECapabilities

Controls whether the PKCS (Put)
IEnroll2::put_HashAlgID

The HashAlgID property of IEnroll4 sets or retrieves the hash algorithm used when signing a PKCS (Put)
IEnroll2::put_LimitExchangeKeyToEncipherment

The LimitExchangeKeyToEncipherment property of IEnroll4 sets or retrieves a Boolean value that determines whether an AT_KEYEXCHANGE request contains digital signature and nonrepudiation key usages. (Put)
IEnroll2::put_ReuseHardwareKeyIfUnableToGenNew

The ReuseHardwareKeyIfUnableToGenNew property of IEnroll4 sets or retrieves a Boolean value that determines the action taken by the certificate enrollment control object if an error is encountered when generating a new key. (Put)
IEnroll2::Reset

Returns the certificate enrollment control object to its initial state and thereby allows reuse of the control.
IEnroll2::SetHStoreCA

The SetHStoreCA method specifies the handle to use for the CA store. This method was first defined in the IEnroll2 interface.
IEnroll2::SetHStoreMy

The SetHStoreMy method specifies the handle to use for the MY store. This method was first defined in the IEnroll2 interface.
IEnroll2::SetHStoreRequest

The SetHStoreRequest method specifies the handle to use for the request store. This method was first defined in the IEnroll2 interface.
IEnroll2::SetHStoreROOT

The SetHStoreROOT method specifies the handle to use for the Root store. This method was first defined in the IEnroll2 interface.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header xenroll.h

See also

IEnroll