Home
last modified time | relevance | path

Searched refs:rdn (Results 1 – 5 of 5) sorted by relevance

/reactos/dll/win32/crypt32/
H A Dstr.c440 const CERT_RDN *rdn = info->rgRDN; in CertNameToStrA() local
470 rdn->rgRDNAttr[j].pszObjId, in CertNameToStrA()
490 rdn->rgRDNAttr[j].dwValueType, in CertNameToStrA()
495 if (j < rdn->cRDNAttr - 1) in CertNameToStrA()
508 if(reverse) rdn--; in CertNameToStrA()
509 else rdn++; in CertNameToStrA()
600 const CERT_RDN *rdn = info->rgRDN; in cert_name_to_str_with_indent() local
669 rdn->rgRDNAttr[j].dwValueType, in cert_name_to_str_with_indent()
674 if (j < rdn->cRDNAttr - 1) in cert_name_to_str_with_indent()
687 if(reverse) rdn--; in cert_name_to_str_with_indent()
[all …]
H A Dencode.c1319 static BOOL CRYPT_AsnEncodeRdn(DWORD dwCertEncodingType, const CERT_RDN *rdn, in CRYPT_AsnEncodeRdn() argument
1331 if (rdn->cRDNAttr) in CRYPT_AsnEncodeRdn()
1333 setOf.rgBlob = CryptMemAlloc(rdn->cRDNAttr * in CRYPT_AsnEncodeRdn()
1339 setOf.cBlob = rdn->cRDNAttr; in CRYPT_AsnEncodeRdn()
1343 for (i = 0; ret && i < rdn->cRDNAttr; i++) in CRYPT_AsnEncodeRdn()
1346 ret = CRYPT_AsnEncodeRdnAttr(dwCertEncodingType, &rdn->rgRDNAttr[i], in CRYPT_AsnEncodeRdn()
1355 &rdn->rgRDNAttr[i], nameValueEncodeFunc, in CRYPT_AsnEncodeRdn()
H A Dmsg.c2685 CERT_RDN rdn = { 1, &attr }; in CRYPT_SizeOfKeyIdAsIssuerAndSerial() local
2686 CERT_NAME_INFO name = { 1, &rdn }; in CRYPT_SizeOfKeyIdAsIssuerAndSerial()
2703 CERT_RDN rdn = { 1, &attr }; in CRYPT_CopyKeyIdAsIssuerAndSerial() local
2704 CERT_NAME_INFO name = { 1, &rdn }; in CRYPT_CopyKeyIdAsIssuerAndSerial()
/reactos/modules/rostests/winetests/crypt32/
H A Dcert.c3046 CERT_RDN rdn = { 0, NULL }; in testIsRDNAttrsInCertificateName() local
3060 ret = CertIsRDNAttrsInCertificateName(X509_ASN_ENCODING, 0, &name, &rdn); in testIsRDNAttrsInCertificateName()
3063 rdn.rgRDNAttr = attr; in testIsRDNAttrsInCertificateName()
3064 rdn.cRDNAttr = 1; in testIsRDNAttrsInCertificateName()
3066 ret = CertIsRDNAttrsInCertificateName(X509_ASN_ENCODING, 0, &name, &rdn); in testIsRDNAttrsInCertificateName()
3073 ret = CertIsRDNAttrsInCertificateName(X509_ASN_ENCODING, 0, &name, &rdn); in testIsRDNAttrsInCertificateName()
3079 ret = CertIsRDNAttrsInCertificateName(X509_ASN_ENCODING, 0, &name, &rdn); in testIsRDNAttrsInCertificateName()
3085 ret = CertIsRDNAttrsInCertificateName(X509_ASN_ENCODING, 0, &name, &rdn); in testIsRDNAttrsInCertificateName()
3104 CERT_CASE_INSENSITIVE_IS_RDN_ATTRS_FLAG, &name, &rdn); in testIsRDNAttrsInCertificateName()
3118 CERT_UNICODE_IS_RDN_ATTRS_FLAG, &name, &rdn); in testIsRDNAttrsInCertificateName()
[all …]
H A Dencode.c747 CERT_RDN rdn; in test_encodeName() local
785 rdn.cRDNAttr = 0; in test_encodeName()
830 rdn.cRDNAttr = 2; in test_encodeName()
845 rdn.cRDNAttr = 1; in test_encodeName()
857 rdn.cRDNAttr = 1; in test_encodeName()
897 CERT_RDN rdn; in test_encodeUnicodeName() local
932 rdn.cRDNAttr = 1; in test_encodeUnicodeName()
952 rdn.cRDNAttr = 2; in test_encodeUnicodeName()
969 rdn.cRDNAttr = 1; in test_encodeUnicodeName()
1073 CERT_RDN rdn; in test_decodeName() local
[all …]