CertOIDToAlgId

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function converts the ASN.1 object identifier (OID) string to the CryptoAPI algorithm identifier (ALG_ID).

Syntax

DWORD WINAPI CertOIDToAlgId(
  LPCSTR pszObjId
);

Parameters

  • pszObjId
    [in] Pointer to the ASN.1 object identifier to be converted to an algorithm identifier.

Return Value

Returns the ALG_ID structure corresponding to the object identifier.

Returns zero if no ALG_ID structure corresponds to the object identifier.

Requirements

Header wincrypt.h
Library crypt32.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ALG_ID