Skip to content

Latest commit

 

History

History
86 lines (66 loc) · 3.68 KB

nf-certenroll-icspinformations-getcspstatusfromprovidername.md

File metadata and controls

86 lines (66 loc) · 3.68 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:certenroll.ICspInformations.GetCspStatusFromProviderName
ICspInformations::GetCspStatusFromProviderName (certenroll.h)
Retrieves an ICspStatus object for a legacy provider by provider name and supported key operations.
GetCspStatusFromProviderName
GetCspStatusFromProviderName method [Security]
GetCspStatusFromProviderName method [Security]
ICspInformations interface
ICspInformations interface [Security]
GetCspStatusFromProviderName method
ICspInformations.GetCspStatusFromProviderName
ICspInformations::GetCspStatusFromProviderName
certenroll/ICspInformations::GetCspStatusFromProviderName
security.icspinformations_getcspstatusfromprovidername_method
security\icspinformations_getcspstatusfromprovidername_method.htm
security
f73d40cb-dde3-46a5-ba9f-f7cbfa2efe70
12/05/2018
GetCspStatusFromProviderName, GetCspStatusFromProviderName method [Security], GetCspStatusFromProviderName method [Security],ICspInformations interface, ICspInformations interface [Security],GetCspStatusFromProviderName method, ICspInformations.GetCspStatusFromProviderName, ICspInformations::GetCspStatusFromProviderName, certenroll/ICspInformations::GetCspStatusFromProviderName, security.icspinformations_getcspstatusfromprovidername_method
certenroll.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
CertEnroll.dll
Windows
19H1
ICspInformations::GetCspStatusFromProviderName
certenroll/ICspInformations::GetCspStatusFromProviderName
c++
APIRef
kbSyntax
COM
CertEnroll.dll
ICspInformations.GetCspStatusFromProviderName

ICspInformations::GetCspStatusFromProviderName

-description

The GetCspStatusFromProviderName method retrieves an ICspStatus object for a legacy provider by provider name and supported key operations. This method is web enabled.

-parameters

-param strProviderName [in]

A BSTR that contains the cryptographic provider name or the provider and algorithm names separated by a comma in the format algorithm_name, provider_name.

-param LegacyKeySpec [in]

An X509KeySpec enumeration value that specifies whether a key can be used for encryption, signing, or both. This can be one of the following values:

  • XCN_AT_KEYEXCHANGE
  • XCN_AT_SIGNATURE

-param ppValue [out]

Address of a variable that receives a pointer to an ICspStatus interface that contains information about a cryptographic provider and algorithm pair that satisfies the strProviderName and LegacyKeySpec parameter values.

-returns

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.

-see-also

ICspInformation

ICspInformations