Function

CertIsRDNAttrsInCertificateName

Directives

External
Name
Stdcall

Module

wcrypt2

Last Modified

7/15/2014 3:26:44 PM

Comments

+-------------------------------------------------------------------------
  Compare the attributes in the certificate name with the specified
  Relative Distinguished Name's (CERT_RDN) array of attributes.
  The comparison iterates through the CERT_RDN attributes and looks for an
  attribute match in any of the certificate name's RDNs.
  Returns TRUE if all the attributes are found and match.
  The CERT_RDN_ATTR fields can have the following special values:
    pszObjId == NULL              - ignore the attribute object identifier
    dwValueType == RDN_ANY_TYPE   - ignore the value type
  Currently only an exact, case sensitive match is supported.
  CERT_UNICODE_IS_RDN_ATTRS_FLAG should be set if the pRDN was initialized
  with unicode strings as for CryptEncodeObject(X509_UNICODE_NAME).
--------------------------------------------------------------------------

Scope

Interfaced

Declaration

function CertIsRDNAttrsInCertificateName(dwCertEncodingType :DWORD;
                                         dwFlags :DWORD;
                                         pCertName :PCERT_NAME_BLOB;
                                         pRDN :PCERT_RDN):BOOL ; stdcall;


Source