CertFindRDNAttr function

The CertFindRDNAttr function finds the first RDN attribute identified by its object identifier (OID) in a list of the Relative Distinguished Names (RDN).

Syntax

PCERT_RDN_ATTR CertFindRDNAttr(
  LPCSTR          pszObjId,
  PCERT_NAME_INFO pName
);

Parameters

pszObjId

A pointer to the object identifier (OID) to use In the search.

pName

A pointer to a CERT_NAME_INFO structure containing the list of the Relative Distinguished Names to be searched.

Return Value

Returns a pointer to the attribute, if one is found. Otherwise, NULL is returned.

Requirements

   
Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header wincrypt.h
Library Crypt32.lib
DLL Crypt32.dll

See Also

CertFindAttribute

CertFindExtension

Data Management Functions