IOCSPCAConfiguration::get_KeySpec method (certadm.h)
The KeySpec property gets a value that indicates whether the key bound to the configuration is used for encryption or for signing content. The default implementations of IOCSPAdmin and IOCSPCAConfigurationCollection methods set this value.
Possible values are determined by the cryptographic service provider (CSP) in use.
This property is read-only.
Syntax
HRESULT get_KeySpec(
ULONG *pVal
);
Parameters
pVal
Return value
None
Remarks
For the Microsoft Base Cryptographic Provider, the KeySpec property has the value AT_KEYEXCHANGE for exchange keys and the value AT_SIGNATURE for signature keys. The default value is AT_SIGNATURE.
For information about the other Microsoft CSPs, see Cryptographic Service Providers in the CryptoAPI 2.0 documentation.
For information about a non-Microsoft CSP, see the documentation provided with that CSP.
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 | certadm.h (include Certserv.h) |
Library | Certadm.lib |
DLL | Certadm.dll |