ICertSrvSetupKeyInformation interface (casetup.h)
The ICertSrvSetupKeyInformation interface defines a set of private key properties that are used for setup of certification authority (CA) or Microsoft Simple Certificate Enrollment Protocol (SCEP) roles. The information describes either an existing private key or one that setup generates.
Microsoft provides an implementation of this interface in the CCertSrvSetupKeyInformation class.
In C++, you create an instance of this interface by calling the CoCreateInstance function with the CLSID_CCertSrvSetupKeyInformation class identifier.
Inheritance
The ICertSrvSetupKeyInformation interface inherits from the IDispatch interface.
Methods
The ICertSrvSetupKeyInformation interface has these methods.
ICertSrvSetupKeyInformation::get_ContainerName Gets or sets the name used by the cryptographic service provider (CSP) to generate, store, or access the key. (Get) |
ICertSrvSetupKeyInformation::get_Existing Gets or sets a value that indicates whether the private key already exists. (Get) |
ICertSrvSetupKeyInformation::get_ExistingCACertificate Gets or sets the binary value that has been encoded by using Distinguished Encoding Rules (DER) and that is the binary value of the certification authority (CA) certificate that corresponds to an existing key. (Get) |
ICertSrvSetupKeyInformation::get_HashAlgorithm Gets or sets the name of the hashing algorithm used to sign or verify the certification authority (CA) certificate for the key. (Get) |
ICertSrvSetupKeyInformation::get_Length Gets or sets the strength of the key to one of the values supported by the cryptographic service provider (CSP). (Get) |
ICertSrvSetupKeyInformation::get_ProviderName Gets or sets the name of the cryptographic service provider (CSP) or key storage provider (KSP) that is used to generate or store the private key. (Get) |
ICertSrvSetupKeyInformation::put_ContainerName Gets or sets the name used by the cryptographic service provider (CSP) to generate, store, or access the key. (Put) |
ICertSrvSetupKeyInformation::put_Existing Gets or sets a value that indicates whether the private key already exists. (Put) |
ICertSrvSetupKeyInformation::put_ExistingCACertificate Gets or sets the binary value that has been encoded by using Distinguished Encoding Rules (DER) and that is the binary value of the certification authority (CA) certificate that corresponds to an existing key. (Put) |
ICertSrvSetupKeyInformation::put_HashAlgorithm Gets or sets the name of the hashing algorithm used to sign or verify the certification authority (CA) certificate for the key. (Put) |
ICertSrvSetupKeyInformation::put_Length Gets or sets the strength of the key to one of the values supported by the cryptographic service provider (CSP). (Put) |
ICertSrvSetupKeyInformation::put_ProviderName Gets or sets the name of the cryptographic service provider (CSP) or key storage provider (KSP) that is used to generate or store the private key. (Put) |
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only] |
Target Platform | Windows |
Header | casetup.h |