Поделиться через


CertFindRDNAttr (Compact 2013)

3/28/2014

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

See Also

Reference

Certificates Functions
CertFindAttribute
CertFindExtension
CERT_NAME_INFO