Partager via


CertOIDToAlgId (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Certificates Functions
ALG_ID