/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/ |
D | X509CertificateHolderSelector.java | 21 private X500Name issuer; field in X509CertificateHolderSelector 41 public X509CertificateHolderSelector(X500Name issuer, BigInteger serialNumber) in X509CertificateHolderSelector() argument 43 this(issuer, serialNumber, null); in X509CertificateHolderSelector() 54 …public X509CertificateHolderSelector(X500Name issuer, BigInteger serialNumber, byte[] subjectKeyId) in X509CertificateHolderSelector() argument 56 this.issuer = issuer; in X509CertificateHolderSelector() 63 return issuer; in getIssuer() 85 if (this.issuer != null) in hashCode() 87 code ^= this.issuer.hashCode(); in hashCode() 105 && equalsObj(this.issuer, id.issuer); in equals() 123 return iAndS.getName().equals(this.issuer) in match() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | IssuerSerial.java | 18 GeneralNames issuer; field in IssuerSerial 53 issuer = GeneralNames.getInstance(seq.getObjectAt(0)); in IssuerSerial() 63 X500Name issuer, in IssuerSerial() argument 66 this(new GeneralNames(new GeneralName(issuer)), new ASN1Integer(serial)); in IssuerSerial() 70 GeneralNames issuer, in IssuerSerial() argument 73 this(issuer, new ASN1Integer(serial)); in IssuerSerial() 77 GeneralNames issuer, in IssuerSerial() argument 80 this.issuer = issuer; in IssuerSerial() 86 return issuer; in getIssuer() 113 v.add(issuer); in toASN1Primitive()
|
D | V1TBSCertificateGenerator.java | 31 X500Name issuer; field in V1TBSCertificateGenerator 56 X509Name issuer) in setIssuer() argument 58 this.issuer = X500Name.getInstance(issuer.toASN1Primitive()); in setIssuer() 62 X500Name issuer) in setIssuer() argument 64 this.issuer = issuer; in setIssuer() 115 || (issuer == null) || (startDate == null) || (endDate == null) in generateTBSCertificate() 126 seq.add(issuer); in generateTBSCertificate()
|
D | V3TBSCertificateGenerator.java | 35 X500Name issuer; field in V3TBSCertificateGenerator 65 X509Name issuer) in setIssuer() argument 67 this.issuer = X500Name.getInstance(issuer); in setIssuer() 71 X500Name issuer) in setIssuer() argument 73 this.issuer = issuer; in setIssuer() 161 || (issuer == null) || (startDate == null) || (endDate == null) in generateTBSCertificate() 172 v.add(issuer); in generateTBSCertificate()
|
D | AttributeCertificateInfo.java | 18 private AttCertIssuer issuer; field in AttributeCertificateInfo 69 this.issuer = AttCertIssuer.getInstance(seq.getObjectAt(start + 1)); in AttributeCertificateInfo() 102 return issuer; in getIssuer() 162 v.add(issuer); in toASN1Primitive()
|
D | TBSCertList.java | 142 X500Name issuer; field in TBSCertList 190 issuer = X500Name.getInstance(seq.getObjectAt(seqPos++)); in TBSCertList() 235 return issuer; in getIssuer() 289 v.add(issuer); in toASN1Primitive()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/ |
D | IssuerSerial.java | 22 GeneralNames issuer; field in IssuerSerial 57 issuer = GeneralNames.getInstance(seq.getObjectAt(0)); in IssuerSerial() 67 X500Name issuer, in IssuerSerial() argument 70 this(new GeneralNames(new GeneralName(issuer)), new ASN1Integer(serial)); in IssuerSerial() 74 GeneralNames issuer, in IssuerSerial() argument 77 this(issuer, new ASN1Integer(serial)); in IssuerSerial() 81 GeneralNames issuer, in IssuerSerial() argument 84 this.issuer = issuer; in IssuerSerial() 90 return issuer; in getIssuer() 117 v.add(issuer); in toASN1Primitive()
|
D | V1TBSCertificateGenerator.java | 33 X500Name issuer; field in V1TBSCertificateGenerator 58 X509Name issuer) in setIssuer() argument 60 this.issuer = X500Name.getInstance(issuer.toASN1Primitive()); in setIssuer() 64 X500Name issuer) in setIssuer() argument 66 this.issuer = issuer; in setIssuer() 117 || (issuer == null) || (startDate == null) || (endDate == null) in generateTBSCertificate() 128 seq.add(issuer); in generateTBSCertificate()
|
D | V3TBSCertificateGenerator.java | 38 X500Name issuer; field in V3TBSCertificateGenerator 76 X509Name issuer) in setIssuer() argument 78 this.issuer = X500Name.getInstance(issuer); in setIssuer() 82 X500Name issuer) in setIssuer() argument 84 this.issuer = issuer; in setIssuer() 182 || (issuer == null) || (startDate == null) || (endDate == null) in generateTBSCertificate() 193 v.add(issuer); in generateTBSCertificate()
|
D | AttributeCertificateInfo.java | 22 private AttCertIssuer issuer; field in AttributeCertificateInfo 73 this.issuer = AttCertIssuer.getInstance(seq.getObjectAt(start + 1)); in AttributeCertificateInfo() 106 return issuer; in getIssuer() 166 v.add(issuer); in toASN1Primitive()
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_akey.c | 102 if (akeyid->issuer) in STACK_OF() 103 extlist = i2v_GENERAL_NAMES(NULL, akeyid->issuer, extlist); in STACK_OF() 124 char keyid = 0, issuer = 0; in v2i_AUTHORITY_KEYID() local 144 issuer = 1; in v2i_AUTHORITY_KEYID() 146 issuer = 2; in v2i_AUTHORITY_KEYID() 173 if ((issuer && !ikeyid) || (issuer == 2)) { in v2i_AUTHORITY_KEYID() 196 akeyid->issuer = gens; in v2i_AUTHORITY_KEYID()
|
D | v3_purp.c | 760 int X509_check_issued(X509 *issuer, X509 *subject) in X509_check_issued() argument 762 if (X509_NAME_cmp(X509_get_subject_name(issuer), in X509_check_issued() 765 x509v3_cache_extensions(issuer); in X509_check_issued() 769 int ret = X509_check_akid(issuer, subject->akid); in X509_check_issued() 775 if (ku_reject(issuer, KU_DIGITAL_SIGNATURE)) in X509_check_issued() 777 } else if (ku_reject(issuer, KU_KEY_CERT_SIGN)) in X509_check_issued() 782 int X509_check_akid(X509 *issuer, AUTHORITY_KEYID *akid) in X509_check_akid() argument 789 if (akid->keyid && issuer->skid && in X509_check_akid() 790 ASN1_OCTET_STRING_cmp(akid->keyid, issuer->skid)) in X509_check_akid() 794 ASN1_INTEGER_cmp(X509_get_serialNumber(issuer), akid->serial)) in X509_check_akid() [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_ocsp.c | 112 struct x509_certificate *issuer, in tls_process_ocsp_single_response() argument 180 issuer->subject_dn, issuer->subject_dn_len); in tls_process_ocsp_single_response() 181 hash_len = ocsp_hash_data(&alg.oid, issuer->subject_dn, in tls_process_ocsp_single_response() 182 issuer->subject_dn_len, hash); in tls_process_ocsp_single_response() 205 hash_len = ocsp_hash_data(&alg.oid, issuer->public_key, in tls_process_ocsp_single_response() 206 issuer->public_key_len, hash); in tls_process_ocsp_single_response() 320 struct x509_certificate *issuer, const u8 *resp, in tls_process_ocsp_responses() argument 339 if (tls_process_ocsp_single_response(conn, cert, issuer, in tls_process_ocsp_responses() 365 struct x509_certificate *issuer, *signer; in tls_process_basic_ocsp_response() local 607 issuer = srv_cert->next; in tls_process_basic_ocsp_response() [all …]
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
D | AttributeCertificateIssuer.java | 27 public AttributeCertificateIssuer(AttCertIssuer issuer) in AttributeCertificateIssuer() argument 29 form = issuer.getIssuer(); in AttributeCertificateIssuer() 123 V2Form issuer = (V2Form)form; in match() local 124 if (issuer.getBaseCertificateID() != null) in match() 126 … return issuer.getBaseCertificateID().getSerial().getValue().equals(x509Cert.getSerialNumber()) in match() 127 && matchesDN(x509Cert.getIssuer(), issuer.getBaseCertificateID().getIssuer()); in match() 130 GeneralNames name = issuer.getIssuerName(); in match()
|
D | X509v3CertificateBuilder.java | 38 …public X509v3CertificateBuilder(X500Name issuer, BigInteger serial, Date notBefore, Date notAfter,… in X509v3CertificateBuilder() argument 40 this(issuer, serial, new Time(notBefore), new Time(notAfter), subject, publicKeyInfo); in X509v3CertificateBuilder() 55 …public X509v3CertificateBuilder(X500Name issuer, BigInteger serial, Date notBefore, Date notAfter,… in X509v3CertificateBuilder() argument 57 …this(issuer, serial, new Time(notBefore, dateLocale), new Time(notAfter, dateLocale), subject, pub… in X509v3CertificateBuilder() 70 …public X509v3CertificateBuilder(X500Name issuer, BigInteger serial, Time notBefore, Time notAfter,… in X509v3CertificateBuilder() argument 74 tbsGen.setIssuer(issuer); in X509v3CertificateBuilder()
|
/external/boringssl/src/crypto/x509/ |
D | x509_cmp.c | 83 return (X509_NAME_cmp(ai->issuer, bi->issuer)); in X509_issuer_and_serial_cmp() 94 f = X509_NAME_oneline(a->cert_info->issuer, NULL, 0); in X509_issuer_and_serial_hash() 116 return (X509_NAME_cmp(a->cert_info->issuer, b->cert_info->issuer)); in X509_issuer_name_cmp() 126 return (X509_NAME_cmp(a->crl->issuer, b->crl->issuer)); in X509_CRL_cmp() 136 return (a->cert_info->issuer); in X509_get_issuer_name() 141 return (X509_NAME_hash(x->cert_info->issuer)); in X509_issuer_name_hash() 146 return (X509_NAME_hash_old(x->cert_info->issuer)); in X509_issuer_name_hash_old() 281 cinf.issuer = name; in X509_find_by_issuer_and_serial()
|
D | x_crl.c | 84 ASN1_INTEGER *ser, X509_NAME *issuer); 100 X509_NAME *issuer); 139 ASN1_SIMPLE(X509_CRL_INFO, issuer, X509_NAME), 184 rev->issuer = gens; 427 if (!rev->issuer) { in crl_revoked_issuer_match() 438 for (i = 0; i < sk_GENERAL_NAME_num(rev->issuer); i++) { in crl_revoked_issuer_match() 439 GENERAL_NAME *gen = sk_GENERAL_NAME_value(rev->issuer, i); in crl_revoked_issuer_match() 453 X509_NAME *issuer) in def_crl_lookup() argument 482 if (crl_revoked_issuer_match(crl, issuer, rev)) { in def_crl_lookup() 506 X509_NAME *issuer), in X509_CRL_METHOD_new() argument
|
D | x509_vfy.c | 116 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); 536 X509 *issuer; in find_issuer() local 538 issuer = sk_X509_value(sk, i); in find_issuer() 539 if (ctx->check_issued(ctx, x, issuer)) in find_issuer() 540 return issuer; in find_issuer() 547 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer) in check_issued() argument 550 ret = X509_check_issued(issuer, x); in check_issued() 559 ctx->current_issuer = issuer; in check_issued() 565 static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x) in get_issuer_sk() argument 567 *issuer = find_issuer(ctx, ctx->other_ctx, x); in get_issuer_sk() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/ |
D | AttributeCertificateIssuer.java | 38 public AttributeCertificateIssuer(AttCertIssuer issuer) in AttributeCertificateIssuer() argument 40 form = issuer.getIssuer(); in AttributeCertificateIssuer() 154 V2Form issuer = (V2Form)form; in match() local 155 if (issuer.getBaseCertificateID() != null) in match() 157 … return issuer.getBaseCertificateID().getSerial().getValue().equals(x509Cert.getSerialNumber()) in match() 158 … && matchesDN(x509Cert.getIssuerX500Principal(), issuer.getBaseCertificateID().getIssuer()); in match() 161 GeneralNames name = issuer.getIssuerName(); in match()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | AttributeCertificateIssuer.java | 36 public AttributeCertificateIssuer(AttCertIssuer issuer) in AttributeCertificateIssuer() argument 38 form = issuer.getIssuer(); in AttributeCertificateIssuer() 152 V2Form issuer = (V2Form)form; in match() local 153 if (issuer.getBaseCertificateID() != null) in match() 155 … return issuer.getBaseCertificateID().getSerial().getValue().equals(x509Cert.getSerialNumber()) in match() 156 … && matchesDN(x509Cert.getIssuerX500Principal(), issuer.getBaseCertificateID().getIssuer()); in match() 159 GeneralNames name = issuer.getIssuerName(); in match()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | SignerId.java | 39 public SignerId(X500Name issuer, BigInteger serialNumber) in SignerId() argument 41 this(issuer, serialNumber, null); in SignerId() 52 public SignerId(X500Name issuer, BigInteger serialNumber, byte[] subjectKeyId) in SignerId() argument 54 this(new X509CertificateHolderSelector(issuer, serialNumber, subjectKeyId)); in SignerId()
|
/external/scapy/test/ |
D | x509.uts | 71 assert(type(tbs.issuer) is list) 72 assert(len(tbs.issuer) == 7) 73 assert(type(tbs.issuer[0]) is X509_RDN) 74 assert(type(tbs.issuer[0].rdn) is list) 75 assert(type(tbs.issuer[0].rdn[0]) is X509_AttributeTypeAndValue) 78 tbs.issuer[0].rdn[0].type == ASN1_OID("countryName") and tbs.issuer[0].rdn[0].value == ASN1_PRINTAB… 95 tbs.issuer[6].rdn[0].type == ASN1_OID("emailAddress") and tbs.issuer[6].rdn[0].value == ASN1_IA5_ST… 159 assert(type(tbs.issuer) is list) 160 assert(len(tbs.issuer) == 3) 161 assert(type(tbs.issuer[0]) is X509_RDN) [all …]
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | TrustedCertificateIndex.java | 109 X500Principal issuer = cert.getIssuerX500Principal(); in findByIssuerAndSignature() local 111 List<TrustAnchor> anchors = subjectToTrustAnchors.get(issuer); in findByIssuerAndSignature() 183 X500Principal issuer = cert.getIssuerX500Principal(); in findAllByIssuerAndSignature() local 185 List<TrustAnchor> anchors = subjectToTrustAnchors.get(issuer); in findAllByIssuerAndSignature()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | TrustedCertificateIndex.java | 103 X500Principal issuer = cert.getIssuerX500Principal(); in findByIssuerAndSignature() local 105 List<TrustAnchor> anchors = subjectToTrustAnchors.get(issuer); in findByIssuerAndSignature() 175 X500Principal issuer = cert.getIssuerX500Principal(); in findAllByIssuerAndSignature() local 177 List<TrustAnchor> anchors = subjectToTrustAnchors.get(issuer); in findAllByIssuerAndSignature()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | PKIXCertPath.java | 76 X500Principal issuer = ((X509Certificate)certs.get(0)).getIssuerX500Principal(); in sortCerts() local 83 if (issuer.equals(cert.getSubjectX500Principal())) in sortCerts() 85 issuer = ((X509Certificate)certs.get(i)).getIssuerX500Principal(); in sortCerts() 135 issuer = ((X509Certificate)retList.get(i)).getIssuerX500Principal(); in sortCerts() 140 if (issuer.equals(c.getSubjectX500Principal())) in sortCerts()
|