Home
last modified time | relevance | path

Searched refs:issuer (Results 1 – 25 of 101) sorted by relevance

12345

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
DX509CertificateHolderSelector.java21 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/
DV1TBSCertificateGenerator.java31 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()
DV3TBSCertificateGenerator.java35 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()
DIssuerSerial.java15 GeneralNames issuer; field in IssuerSerial
50 issuer = GeneralNames.getInstance(seq.getObjectAt(0)); in IssuerSerial()
60 GeneralNames issuer, in IssuerSerial() argument
63 this.issuer = issuer; in IssuerSerial()
69 return issuer; in getIssuer()
96 v.add(issuer); in toASN1Primitive()
DAttributeCertificateInfo.java18 private AttCertIssuer issuer; field in AttributeCertificateInfo
58 this.issuer = AttCertIssuer.getInstance(seq.getObjectAt(2)); in AttributeCertificateInfo()
91 return issuer; in getIssuer()
148 v.add(issuer); in toASN1Primitive()
DTBSCertList.java141 X500Name issuer; field in TBSCertList
189 issuer = X500Name.getInstance(seq.getObjectAt(seqPos++)); in TBSCertList()
234 return issuer; in getIssuer()
288 v.add(issuer); in toASN1Primitive()
DTBSCertificate.java40 X500Name issuer; field in TBSCertificate
93 issuer = X500Name.getInstance(seq.getObjectAt(seqStart + 3)); in TBSCertificate()
150 return issuer; in getIssuer()
DTBSCertificateStructure.java42 X500Name issuer; field in TBSCertificateStructure
95 issuer = X500Name.getInstance(seq.getObjectAt(seqStart + 3)); in TBSCertificateStructure()
152 return issuer; in getIssuer()
/external/chromium/net/base/
Dx509_certificate_unittest.cc201 const CertPrincipal& issuer = google_cert->issuer(); in CheckGoogleCert() local
202 EXPECT_EQ("Thawte SGC CA", issuer.common_name); in CheckGoogleCert()
203 EXPECT_EQ("", issuer.locality_name); in CheckGoogleCert()
204 EXPECT_EQ("", issuer.state_or_province_name); in CheckGoogleCert()
205 EXPECT_EQ("ZA", issuer.country_name); in CheckGoogleCert()
206 EXPECT_EQ(0U, issuer.street_addresses.size()); in CheckGoogleCert()
207 ASSERT_EQ(1U, issuer.organization_names.size()); in CheckGoogleCert()
208 EXPECT_EQ("Thawte Consulting (Pty) Ltd.", issuer.organization_names[0]); in CheckGoogleCert()
209 EXPECT_EQ(0U, issuer.organization_unit_names.size()); in CheckGoogleCert()
210 EXPECT_EQ(0U, issuer.domain_components.size()); in CheckGoogleCert()
[all …]
/external/openssl/crypto/x509v3/
Dv3_akey.c92 if(akeyid->issuer) in STACK_OF()
93 extlist = i2v_GENERAL_NAMES(NULL, akeyid->issuer, extlist); in STACK_OF()
114 char keyid=0, issuer=0; in v2i_AUTHORITY_KEYID() local
137 issuer = 1; in v2i_AUTHORITY_KEYID()
139 issuer = 2; in v2i_AUTHORITY_KEYID()
171 if((issuer && !ikeyid) || (issuer == 2)) in v2i_AUTHORITY_KEYID()
197 akeyid->issuer = gens; in v2i_AUTHORITY_KEYID()
Dv3_purp.c701 int X509_check_issued(X509 *issuer, X509 *subject) in X509_check_issued() argument
703 if(X509_NAME_cmp(X509_get_subject_name(issuer), in X509_check_issued()
706 x509v3_cache_extensions(issuer); in X509_check_issued()
711 int ret = X509_check_akid(issuer, subject->akid); in X509_check_issued()
718 if(ku_reject(issuer, KU_DIGITAL_SIGNATURE)) in X509_check_issued()
721 else if(ku_reject(issuer, KU_KEY_CERT_SIGN)) in X509_check_issued()
726 int X509_check_akid(X509 *issuer, AUTHORITY_KEYID *akid) in X509_check_akid() argument
733 if(akid->keyid && issuer->skid && in X509_check_akid()
734 ASN1_OCTET_STRING_cmp(akid->keyid, issuer->skid) ) in X509_check_akid()
738 ASN1_INTEGER_cmp(X509_get_serialNumber(issuer), akid->serial)) in X509_check_akid()
[all …]
/external/openssl/crypto/x509/
Dx509_cmp.c76 return(X509_NAME_cmp(ai->issuer,bi->issuer)); in X509_issuer_and_serial_cmp()
88 f=X509_NAME_oneline(a->cert_info->issuer,NULL,0); in X509_issuer_and_serial_hash()
111 return(X509_NAME_cmp(a->cert_info->issuer,b->cert_info->issuer)); in X509_issuer_name_cmp()
121 return(X509_NAME_cmp(a->crl->issuer,b->crl->issuer)); in X509_CRL_cmp()
133 return(a->cert_info->issuer); in X509_get_issuer_name()
138 return(X509_NAME_hash(x->cert_info->issuer)); in X509_issuer_name_hash()
144 return(X509_NAME_hash_old(x->cert_info->issuer)); in X509_issuer_name_hash_old()
276 cinf.issuer=name; in X509_find_by_issuer_and_serial()
Dx509_vfy.c112 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
401 X509 *issuer; in find_issuer() local
404 issuer = sk_X509_value(sk, i); in find_issuer()
405 if (ctx->check_issued(ctx, x, issuer)) in find_issuer()
406 return issuer; in find_issuer()
413 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer) in check_issued() argument
416 ret = X509_check_issued(issuer, x); in check_issued()
425 ctx->current_issuer = issuer; in check_issued()
432 static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x) in get_issuer_sk() argument
434 *issuer = find_issuer(ctx, ctx->other_ctx, x); in get_issuer_sk()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DAttributeCertificateIssuer.java27 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()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DAttributeCertificateIssuer.java36 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()
DCertPathReviewerMessages.properties147 # trustanchor - cannot extract issuer
149 CertPathReviewer.trustAnchorIssuerError.text = Finding trust anchor failed: cannot extract issuer f…
150 …ustAnchorIssuerError.summary = Finding trust anchor failed: cannot extract issuer from certificate.
151 …ustAnchorIssuerError.details = Finding trust anchor failed: cannot extract issuer from certificate.
154 # {0} issuer of the root certificate of the path
182 # can not verifiy signature: issuer public key unknown
211 # certificate invalid issuer DN
212 # {0} expected issuer DN as String
213 # {1} found issuer DN as String
362 # {0} issuer of the CRL
[all …]
DX509V1CertificateGenerator.java82 X500Principal issuer) in setIssuerDN() argument
86 tbsGen.setIssuer(new X509Principal(issuer.getEncoded())); in setIssuerDN()
99 X509Name issuer) in setIssuerDN() argument
101 tbsGen.setIssuer(issuer); in setIssuerDN()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DSignerId.java39 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/openssl/crypto/asn1/
Dx_crl.c78 X509_REVOKED **ret, ASN1_INTEGER *serial, X509_NAME *issuer);
115 ASN1_SIMPLE(X509_CRL_INFO, issuer, X509_NAME),
163 rev->issuer = gens;
420 if (!rev->issuer) in crl_revoked_issuer_match()
432 for (i = 0; i < sk_GENERAL_NAME_num(rev->issuer); i++) in crl_revoked_issuer_match()
434 GENERAL_NAME *gen = sk_GENERAL_NAME_value(rev->issuer, i); in crl_revoked_issuer_match()
445 X509_REVOKED **ret, ASN1_INTEGER *serial, X509_NAME *issuer) in def_crl_lookup() argument
468 if (crl_revoked_issuer_match(crl, issuer, rev)) in def_crl_lookup()
492 ASN1_INTEGER *ser, X509_NAME *issuer), in X509_CRL_METHOD_new() argument
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
DCertificateListTest.java131 Name issuer = new Name(issuerName); in setUp() local
134 new TBSCertList(2, signature, issuer, thisUpdate, in setUp()
160 Name issuer = new Name(issuerName); in testCertificateList() local
162 new TBSCertList(signature, issuer, thisUpdate); in testCertificateList()
169 tbscl = new TBSCertList(2, signature, issuer, thisUpdate, in testCertificateList()
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java421 X500Principal issuer) { in TestInvalidX509Certificate() argument
422 super(subj, issuer); in TestInvalidX509Certificate()
437 private X500Principal issuer; field in TestCertUtils.TestX509Certificate
439 public TestX509Certificate(X500Principal subj, X500Principal issuer) { in TestX509Certificate() argument
441 this.issuer = issuer; in TestX509Certificate()
445 return issuer; in getIssuerX500Principal()
461 byte[] aissuer = issuer.getEncoded(); in getEncoded()
/external/openssl/apps/
Docsp.c98 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert, const EVP_MD *cert_id_md, X509 *issuer,
100 …atic int add_ocsp_serial(OCSP_REQUEST **req, char *serial, const EVP_MD * cert_id_md, X509 *issuer,
140 X509 *issuer = NULL, *cert = NULL; in MAIN() local
429 X509_free(issuer); in MAIN()
430 issuer = load_cert(bio_err, *args, FORMAT_PEM, in MAIN()
432 if(!issuer) goto end; in MAIN()
446 if(!add_ocsp_cert(&req, cert, cert_id_md, issuer, ids)) in MAIN()
459 if(!add_ocsp_serial(&req, *args, cert_id_md, issuer, ids)) in MAIN()
906 X509_free(issuer); in MAIN()
933 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert, const EVP_MD *cert_id_md,X509 *issuer, in add_ocsp_cert() argument
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DPKIXCertPath.java74 X500Principal issuer = ((X509Certificate)certs.get(0)).getIssuerX500Principal(); in sortCerts() local
81 if (issuer.equals(cert.getSubjectX500Principal())) in sortCerts()
83 issuer = ((X509Certificate)certs.get(i)).getIssuerX500Principal(); in sortCerts()
133 issuer = ((X509Certificate)retList.get(i)).getIssuerX500Principal(); in sortCerts()
138 if (issuer.equals(c.getSubjectX500Principal())) in sortCerts()
/external/openssl/android.testssl/
DUss.cnf32 authorityKeyIdentifier=keyid,issuer:always
35 issuerAltName=issuer:copy
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/
DX509CRLEntryImplTest.java48 X500Principal issuer = in testGetExtensionValue() local
66 issuer in testGetExtensionValue()

12345