ICertSrvSetupKeyInformation::put_ProviderName method (casetup.h)
The ProviderName property 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.
This property is read/write.
Syntax
HRESULT put_ProviderName(
const BSTR bstrVal
);
Parameters
bstrVal
Return value
None
Remarks
For a KSP, the ProviderName property value must be formatted as PublicKeyAlgorithmName, number sign (#), and KeyStorageProviderName, for example "RSA#Microsoft Software Key Storage Provider" or "ECDSA_P256#Microsoft Software Key Storage Provider". The public key algorithm must be supported by the provider. To get supported algorithms, call the NCryptEnumAlgorithms function with the dwAlgOperations parameter set to NCRYPT_SIGNATURE_OPERATION. For information about algorithm identifiers, see CNG Algorithm Identifiers.
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 |
DLL | Certocm.dll |