CertOIDToAlgId (Compact 2013)

3/28/2014

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.

Link Library: Crypt32.lib.

Requirements

Header

wincrypt.h

Library

crypt32.lib

See Also

Reference

Certificates Functions
ALG_ID