Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function finds the first relative distinguished name (RDN) attribute identified by its object identifier (OID) in an RDN list.

Syntax

PCERT_RDN_ATTR WINAPI CertFindRDNAttr(
  LPCSTR 
pszObjId,
  PCERT_NAME_INFO 
pName
);

Parameters

pszObjId

[in] Pointer to the OID to use in the search.

pName

[in] Pointer to a CERT_NAME_INFOstructure containing the list of the RDNs to be searched.

Return Value

This function returns a pointer to the attribute, if one is found. Otherwise, NULL is returned.

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