Skip to content

Latest commit

 

History

History
70 lines (58 loc) · 2.46 KB

nf-wincrypt-certoidtoalgid.md

File metadata and controls

70 lines (58 loc) · 2.46 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:wincrypt.CertOIDToAlgId
CertOIDToAlgId function (wincrypt.h)
Use the CryptFindOIDInfo function instead of this function because ALG_ID identifiers are no longer supported in CNG.
CertOIDToAlgId
CertOIDToAlgId function [Security]
_crypto2_certoidtoalgid
security.certoidtoalgid
wincrypt/CertOIDToAlgId
security\certoidtoalgid.htm
security
920b2642-ce7c-4098-8720-5a6f24128787
12/05/2018
CertOIDToAlgId, CertOIDToAlgId function [Security], _crypto2_certoidtoalgid, security.certoidtoalgid, wincrypt/CertOIDToAlgId
wincrypt.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Crypt32.lib
Crypt32.dll
Windows
19H1
CertOIDToAlgId
wincrypt/CertOIDToAlgId
c++
APIRef
kbSyntax
DllExport
Crypt32.dll
CertOIDToAlgId

CertOIDToAlgId function

-description

Use the CryptFindOIDInfo function instead of this function because ALG_ID identifiers are no longer supported in CNG. Use the CRYPT_OID_INFO_OID_KEY value in the dwKeyType parameter of the CryptFindOIDInfo function instead.

Windows Server 2003 and Windows XP:  The CertOIDToAlgId function converts the Abstract Syntax Notation One (ASN.1) object identifier (OID) string to the CryptoAPI algorithm identifier (ALG_ID).

-parameters

-param pszObjId [in]

Pointer to the ASN.1 OID to be converted to an algorithm identifier.

-returns

Returns the ALG_ID that corresponds to the object identifier (OID) or zero if no ALG_ID corresponds to the OID.

-see-also

Data Conversion Functions