ICertAdmin2 interface
The ICertAdmin2 interface is one of two interfaces that provide administration functionality for properly authorized clients.
The ICertAdmin2 interface is used to perform the following tasks:
- Authorize or deny a certificate request.
- Revoke an issued certificate.
- Trigger the generation of a certificate revocation list (CRL).
- Get the current CRL for the server.
- Determine whether a certificate is valid.
- Get an archived key.
- Get a certification authority (CA) display name, property, or property flag.
- Publish one or several CRLs.
- Get or set configuration information.
- Determine which roles are set.
- Import a certificate or key.
Certificate Services interfaces support both apartment-threading and free-threading models. For better throughput, free threading is recommended.
Inheritance
The ICertAdmin2 interface inherits the ICertAdmin interface.
Members
The ICertAdmin2 interface inherits from ICertAdmin and IDispatch. ICertAdmin2 also has these types of members:
Methods
The ICertAdmin2 interface has these methods.
| Method | Description |
|---|---|
| DeleteRow |
Deletes a row, or set of rows, from a database table. (Inherited from ICertAdmin2CCertAdmin) |
| DenyRequest |
Denies a certificate request. (Inherited from ICertAdminCCertAdmin) |
| GetArchivedKey |
Retrieves an archived key recovery BLOB. (Inherited from ICertAdmin2CCertAdmin) |
| GetCAProperty |
Retrieves a property value from the CA. (Inherited from ICertAdmin2CCertAdmin) |
| GetCAPropertyDisplayName |
Retrieves the display name for a property. (Inherited from ICertAdmin2CCertAdmin) |
| GetCAPropertyFlags |
Retrieves the property flags (denoting data type and indexed status) for a property. (Inherited from ICertAdmin2CCertAdmin) |
| GetConfigEntry |
Retrieves configuration information for a CA. (Inherited from ICertAdmin2CCertAdmin) |
| GetCRL |
Gets a pointer to the current CRL. (Inherited from ICertAdminCCertAdmin) |
| GetMyRoles |
Retrieves the CA roles of the caller. (Inherited from ICertAdmin2CCertAdmin) |
| GetRevocationReason |
Returns a value that specifies the reason a certificate was revoked. (Inherited from ICertAdminCCertAdmin) |
| ImportCertificate |
Imports a previously issued certificate. (Inherited from ICertAdminCCertAdmin) |
| ImportKey |
Adds an encrypted key set to an item in the Certificate Services database. The key set is encrypted to one or several key recovery agent (KRA) certificates. (Inherited from ICertAdmin2CCertAdmin) |
| IsValidCertificate |
Checks the validity of a certificate. (Inherited from ICertAdminCCertAdmin) |
| PublishCRL |
Publishes a new CRL. (Inherited from ICertAdminCCertAdmin) |
| PublishCRLs |
Publishes CRLs for the CA. (Inherited from ICertAdminCCertAdmin) |
| ResubmitRequest |
Submits a pended certificate request to the policy module. (Inherited from ICertAdminCCertAdmin) |
| RevokeCertificate |
Revokes a certificate on a specified date. (Inherited from ICertAdminCCertAdmin) |
| SetCAProperty |
Sets a property value for the CA. (Inherited from ICertAdmin2CCertAdmin) |
| SetCertificateExtension |
Adds a new extension to a certificate to be issued. (Inherited from ICertAdminCCertAdmin) |
| SetConfigEntry |
Sets configuration information for a CA. (Inherited from ICertAdmin2CCertAdmin) |
| SetRequestAttributes |
Sets the attributes of a certificate request. (Inherited from ICertAdminCCertAdmin) |
Requirements
|
Minimum supported client | None supported [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
IID |
IID_ICertAdmin2 is defined as f7c3ac41-b8ce-4fb4-aa58-3d1dc0e36b39 |
Send comments about this topic to Microsoft
Build date: 10/26/2012