ICspInformation interface (certenroll.h)

The ICspInformation interface provides access to general information about a cryptographic provider. The information is initialized by calling the InitializeFromName or InitializeFromType method. The information is retrieved by using the following methods and properties. For information about CSPs, see CSPs and the Cryptography Process.

Inheritance

The ICspInformation interface inherits from the IDispatch interface. ICspInformation also has these types of members:

Methods

The ICspInformation interface has these methods.

 
ICspInformation::get_CspAlgorithms

Retrieves a collection of ICspAlgorithm interfaces that contain information about the algorithms supported by the provider.
ICspInformation::get_HasHardwareRandomNumberGenerator

Retrieves a Boolean value that specifies whether the provider supports a hardware random number generator that can be used to create random bytes for cryptographic operations.
ICspInformation::get_IsHardwareDevice

Retrieves a Boolean value that determines whether the provider is implemented in a hardware device.
ICspInformation::get_IsRemovable

Retrieves a Boolean value that specifies whether the token that contains the key can be removed.
ICspInformation::get_IsSmartCard

Retrieves a Boolean value that specifies whether the provider is a smart card provider.
ICspInformation::get_IsSoftwareDevice

Retrieves a Boolean value that specifies whether the provider is implemented in software.
ICspInformation::get_KeySpec

Retrieves a value that specifies the intended use of the algorithms supported by the provider.
ICspInformation::get_LegacyCsp

Retrieves a Boolean value that specifies whether the provider is a Cryptography API:_Next Generation (CNG) provider or a CryptoAPI (legacy) CSP.
ICspInformation::get_MaxKeyContainerNameLength

Retrieves the maximum supported length for the name of the private key container associated with the provider.
ICspInformation::get_Name

Retrieves the name.
ICspInformation::get_Type

Retrieves the type of the provider.
ICspInformation::get_Valid

Retrieves a Boolean value that specifies whether the provider is installed on the client computer.
ICspInformation::get_Version

Retrieves the version number of the provider.
ICspInformation::GetCspStatusFromOperations

Creates an ICspStatus object for the first supported algorithm that is consistent with the specified signature, encryption, hashing, or cipher operation.
ICspInformation::GetDefaultSecurityDescriptor

Retrieves the default private key security descriptor.
ICspInformation::InitializeFromName

Initializes the object from a string that contains a provider name.
ICspInformation::InitializeFromType

Initializes the object from the default cryptographic provider.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h

See also

CertEnroll Interfaces

ICspInformations

IDispatch