Share via


CertOIDToAlgId

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

DWORD WINAPI CertOIDToAlgId(
  LPCSTR pszObjId
);

Parameters

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

Return Values

Returns the ALG_ID structure corresponding to the object identifier.

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

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Wincrypt.h.
Link Library: Crypt32.lib.

See Also

ALG_ID

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.