ICspInformations::GetCspStatusesFromOperations method (certenroll.h)
The GetCspStatusesFromOperations method retrieves an ICspStatuses collection by supported key operations and optional provider information. This method is web enabled.
Syntax
HRESULT GetCspStatusesFromOperations(
[in] AlgorithmOperationFlags Operations,
[in, optional] ICspInformation *pCspInformation,
[out] ICspStatuses **ppValue
);
Parameters
[in] Operations
An AlgorithmOperationFlags enumeration value that specifies the supported operations. This can be a bitwise combination of the following flags:
- XCN_NCRYPT_NO_OPERATION
- XCN_NCRYPT_CIPHER_OPERATION
- XCN_NCRYPT_HASH_OPERATION
- XCN_NCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION
- XCN_NCRYPT_SECRET_AGREEMENT_OPERATION
- XCN_NCRYPT_SIGNATURE_OPERATION
- XCN_NCRYPT_RNG_OPERATION
- XCN_NCRYPT_ANY_ASYMMETRIC_OPERATION
- XCN_NCRYPT_PREFER_SIGNATURE_ONLY_OPERATION
- XCN_NCRYPT_PREFER_NON_SIGNATURE_OPERATION
- XCN_NCRYPT_EXACT_MATCH_OPERATION
- XCN_NCRYPT_PREFERENCE_MASK_OPERATION
[in, optional] pCspInformation
Pointer to an ICspInformation interface that represents information for a specific provider.
[out] ppValue
Address of a variable that receives a pointer to an ICspStatuses interface that contains the collection.
Return value
If the function succeeds, the function returns S_OK.
If the function fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | certenroll.h |
DLL | CertEnroll.dll |