IEnroll interface
[This interface is no longer available for use as of Windows Server 2008 and Windows Vista.]
The IEnroll interface represents the Certificate Enrollment Control and is used primarily to generate certificate requests.
Inheritance
The IEnroll interface has been extended by the IEnroll2 and IEnroll4 interfaces, which in turn inherit all the methods and properties of the IEnroll interface.
Members
The IEnroll interface inherits from the IUnknown interface. IEnroll also has these types of members:
Methods
The IEnroll interface has these methods.
| Method | Description |
|---|---|
| acceptFilePKCS7WStr |
Accepts and processes a PKCS #7 message containing a certificate, then stores the message to a file. |
| acceptPKCS7Blob |
Accepts and processes a PKCS #7 message containing a certificate. The PKCS #7 is input as a parameter. |
| AddAuthenticatedAttributesToPKCS7Request |
Adds authenticated attributes to a PKCS #7 certificate request. |
| AddCertTypeToRequestWStr |
Adds a certificate template to a request (used to support the enterprise certification authority (CA)). |
| AddExtensionsToRequest |
Adds extensions to the certificate request. |
| AddNameValuePairToSignatureWStr |
Adds the name and value pair of an attribute to the request. It is up to the CA to interpret the meaning of the name-value pair. |
| createFilePKCS10WStr |
Creates a base64-encoded PKCS #10 certificate request and saves it in a file. |
| createPKCS10WStr |
Creates a base64-encoded PKCS #10 certificate request. |
| CreatePKCS7RequestFromRequest |
Creates a PKCS #7 request from an existing certificate request. |
| enumContainersWStr |
Retrieves the names of the containers for the CSP specified by the ProviderNameWStr property. |
| enumProvidersWStr |
Retrieves the names of the available cryptographic service providers (CSPs) specified by the ProviderType property. |
| freeRequestInfoBlob |
Deletes a certificate context. |
| get_CAStoreFlags |
Retrieves the value of the CAStoreFlags property. |
| get_CAStoreNameWStr |
Retrieves the value of the CAStoreNameWStr property. |
| get_CAStoreTypeWStr |
Retrieves the value of the CAStoreTypeWStr property. |
| get_ContainerNameWStr |
Retrieves the value of the ContainerNameWStr property. |
| get_DeleteRequestCert |
Retrieves the value of the DeleteRequestCert property. |
| get_EnableT61DNEncoding |
Retrieves the value of the EnableT61DNEncoding property. |
| get_GenKeyFlags |
Retrieves the value of the GenKeyFlags property. |
| get_HashAlgorithmWStr |
Retrieves the value of the HashAlgorithmWStr property. |
| get_KeySpec |
Retrieves the value of the KeySpec property. |
| get_MyStoreFlags |
Retrieves the value of the MyStoreFlags property. |
| get_MyStoreNameWStr |
Retrieves the value of the MyStoreNameWStr property. |
| get_MyStoreTypeWStr |
Retrieves the value of the MyStoreTypeWStr property. |
| get_ProviderFlags |
Retrieves the value of the ProviderFlags property. |
| get_ProviderNameWStr |
Retrieves the value of the ProviderNameWStr property. |
| get_ProviderType |
Retrieves the value of the ProviderType property. |
| get_PVKFileNameWStr |
Retrieves the value of the PVKFileNameWStr property. |
| get_RenewalCertificate |
Retrieves the value of the RenewalCertificate property. |
| get_RequestStoreFlags |
Retrieves the value of the RequestStoreFlags property. |
| get_RequestStoreNameWStr |
Retrieves the value of the RequestStoreNameWStr property. |
| get_RequestStoreTypeWStr |
Retrieves the value of the RequestStoreTypeWStr property. |
| get_RootStoreFlags |
Retrieves the value of the RootStoreFlags property. |
| get_RootStoreNameWStr |
Retrieves the value of the RootStoreNameWStr property. |
| get_RootStoreTypeWStr |
Retrieves the value of the RootStoreTypeWStr property. |
| get_SPCFileNameWStr |
Retrieves the value of the SPCFileNameWStr property. |
| get_UseExistingKeySet |
Retrieves the value of the UseExistingKeySet property. |
| get_WriteCertToCSP |
Retrieves the value of the WriteCertToCSP property. |
| get_WriteCertToUserDS |
Retrieves the value of the WriteCertToUserDS property. |
| getCAStore |
Reserved for future use. |
| getCertContextFromPKCS7 |
Retrieves the certificate, contained in a PKCS #7 message, that was issued in response to a PKCS #10 certificate request. |
| getMyStore |
Reserved for future use. |
| getROOTHStore |
Reserved for future use. |
| put_CAStoreFlags |
Sets the value of the CAStoreFlags property. |
| put_CAStoreNameWStr |
Sets the value of the CAStoreNameWStr property. |
| put_CAStoreTypeWStr |
Sets the value of the CAStoreTypeWStr property. |
| put_ContainerNameWStr |
Sets the value of the ContainerNameWStr property. |
| put_DeleteRequestCert |
Sets the value of the DeleteRequestCert property. |
| put_EnableT61DNEncoding |
Sets the value of the EnableT61DNEncoding property. |
| put_GenKeyFlags |
Sets the value of the GenKeyFlags property. |
| put_HashAlgorithmWStr |
Sets the value of the HashAlgorithmWStr property. |
| put_KeySpec |
Sets the value of the KeySpec property. |
| put_MyStoreFlags |
Sets the value of the MyStoreFlags property. |
| put_MyStoreNameWStr |
Sets the value of the MyStoreNameWStr property. |
| put_MyStoreTypeWStr |
Sets the value of the MyStoreTypeWStr property. |
| put_ProviderFlags |
Sets the value of the ProviderFlags property. |
| put_ProviderNameWStr |
Sets the value of the ProviderNameWStr property. |
| put_ProviderType |
Sets the value of the ProviderType property. |
| put_PVKFileNameWStr |
Sets the value of the PVKFileNameWStr property. |
| put_RenewalCertificate |
Sets the value of the RenewalCertificate property. |
| put_RequestStoreFlags |
Sets the value of the RequestStoreFlags property. |
| put_RequestStoreNameWStr |
Sets the value of the RequestStoreNameWStr property. |
| put_RequestStoreTypeWStr |
Sets the value of the RequestStoreTypeWStr property. |
| put_RootStoreFlags |
Sets the value of the RootStoreFlags property. |
| put_RootStoreNameWStr |
Sets the value of the RootStoreNameWStr property. |
| put_RootStoreTypeWStr |
Sets the value of the RootStoreTypeWStr property. |
| put_SPCFileNameWStr |
Sets the value of the SPCFileNameWStr property. |
| put_UseExistingKeySet |
Sets the value of the UseExistingKeySet property. |
| put_WriteCertToCSP |
Sets the value of the WriteCertToCSP property. |
| put_WriteCertToUserDS |
Sets the value of the WriteCertToUserDS property. |
Properties
The IEnroll interface has these properties.
| Property | Description |
|---|---|
|
Sets or retrieves a flag that controls the certificate store when it is opened. | |
|
Sets or retrieves the name of the store where all non-"ROOT" and non-"MY" certificates are kept. | |
|
Sets or retrieves the type of store to use for the store specified by the CAStoreNameWStr property. | |
|
Sets or retrieves the name of the key container to use. | |
|
Sets or retrieves a Boolean indicator that controls whether dummy certificates in the request store are deleted. | |
|
Sets or retrieves a Boolean value that controls whether the distinguished name in the request is encoded as a T61 string instead of as a UNICODE string. | |
|
Sets or retrieves the values passed to CryptGenKey when the certificate request is generated. | |
|
Sets or retrieves only the signature hash algorithm used to sign the PKCS #10. | |
|
Sets or retrieves the type of key generated. | |
|
Sets or retrieves the registry location used for the MY store. | |
|
Sets or retrieves the name of the store where certificates with linked private keys are kept. | |
|
Sets or retrieves the type of store specified by the MyStoreNameWStr property. | |
|
Sets or retrieves the CSP type. | |
|
Sets or retrieves the name of the CSP to use. | |
|
Sets or retrieves the type of provider. | |
|
Sets or retrieves the name of the file that will contain exported keys. | |
|
Specifies the certificate context for the renewal certificate. | |
|
Sets or retrieves the registry location used for the REQUEST store. | |
|
Sets or retrieves the name of the store that contains the dummy certificate. This dummy certificate, along with the added private keys, remains in the request store until a certification authority processes the request and responds with a PKCS #7. | |
|
Sets or retrieves the type of store to use for the store specified by the RequestStoreNameWStr property. | |
|
Sets or retrieves the registry location used for the ROOT store. | |
|
Sets or retrieves the name of the root store where all intrinsically trusted self-signed ROOT certificates are kept. | |
|
Sets or retrieves the type of store to use for the store specified by the RootStoreNameWStr property. | |
|
Sets or retrieves the name of the file to write the resulting base64-encoded PKCS #7 as returned from the certification authority. | |
|
Sets or retrieves a Boolean value that indicates whether the existing keys should be used. | |
|
Sets or retrieves a Boolean value that indicates whether a certificate should be written to the CSP. | |
|
Sets or retrieves a Boolean value that controls whether the certificate is written to the user's Active Directory store. |
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
End of client support | Windows XP |
|
End of server support | Windows Server 2003 |
|
Header |
|
|
Library |
|
|
DLL |
|
|
IID |
IID_IEnroll is defined as acaa7838-4585-11d1-ab57-00c04fc295e1 |
Send comments about this topic to Microsoft
Build date: 10/26/2012