CertFindRDNAttr

A version of this page is also available for

Windows Embedded CE 6.0 R3

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_INFO structure 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

Reference

CertFindAttribute
CertFindExtension
CERT_NAME_INFO