Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/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 | 
See Also
Reference
Certificates Functions
CertFindAttribute
CertFindExtension
CERT_NAME_INFO