Searched refs:issuer (Results 1 - 23 of 23) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/x509/
H A DCertificatePolicyMap.java45 * @param issuer the CertificatePolicyId for the issuer CA.
48 public CertificatePolicyMap(CertificatePolicyId issuer, argument
50 this.issuerDomain = issuer;
68 * Return the issuer CA part of the policy map.
H A DX509CRLImpl.java75 * issuer Name,
103 private X500Name issuer = null; field in class:X509CRLImpl
187 * @param issuer the name of the CA issuing this CRL.
191 public X509CRLImpl(X500Name issuer, Date thisDate, Date nextDate) { argument
192 this.issuer = issuer;
200 * @param issuer the name of the CA issuing this CRL.
207 public X509CRLImpl(X500Name issuer, Date thisDate, Date nextDate, argument
211 this.issuer = issuer;
247 X509CRLImpl(X500Name issuer, Date thisDate, Date nextDate, X509CRLEntry[] badCerts, CRLExtensions crlExts) argument
1216 final X500Principal issuer; field in class:X509CRLImpl.X509IssuerSerial
1226 X509IssuerSerial(X500Principal issuer, BigInteger serial) argument
[all...]
H A DCertificateIssuerExtension.java37 * The CRL certificate issuer extension identifies the certificate issuer
41 * certificate issuer defaults to the CRL issuer. On subsequent entries
43 * issuer for the entry is the same as that for the preceding entry.
70 public static final String ISSUER = "issuer";
88 * Create a CertificateIssuerExtension containing the specified issuer name.
91 * @param issuer the certificate issuer
94 public CertificateIssuerExtension(GeneralNames issuer) throw argument
[all...]
H A DX509CertInfo.java75 public static final String ISSUER = "issuer";
87 protected X500Name issuer = null; field in class:X509CertInfo
295 || issuer == null || algId == null || serialNum == null) {
306 sb.append(" Issuer: " + issuer.toString() + "\n");
489 issuer = null;
563 return(issuer);
611 return getIssuer ? issuer : subject;
613 return getIssuer ? issuer.asX500Principal()
649 issuer = new X500Name(in);
650 if (issuer
[all...]
H A DDistributionPoint.java148 * @param issuer the name(s) of the CRL issuer for the CRL at this
170 * @param issuer the name(s) of the CRL issuer for the CRL at this
268 * Return the CRL issuer name or null if not set.
312 DerOutputStream issuer = new DerOutputStream();
313 crlIssuer.encode(issuer);
316 issuer);
H A DX509CertImpl.java101 // x509.info.issuer.dname
938 * Gets the issuer distinguished name from the certificate.
940 * @return the issuer name.
946 Principal issuer = (Principal)info.get(X509CertInfo.ISSUER + DOT +
948 return issuer;
955 * Get issuer name as X500Principal. Overrides implementation in
964 X500Principal issuer = (X500Principal)info.get(
967 return issuer;
1556 * alternative names (subject or issuer) in the form required by
1858 * Extract the subject or issuer X500Principa
[all...]
/libcore/ojluni/src/main/java/sun/security/pkcs/
H A DSigningCertificateInfo.java59 * issuer GeneralNames,
136 private GeneralNames issuer; field in class:ESSCertId
146 // Parse issuer
147 issuer = new GeneralNames(issuerSerial.data.getDerValue());
160 if (issuer != null && serialNumber != null) {
161 buffer.append("\n\tIssuer: " + issuer + "\n");
H A DSignerInfo.java245 Principal issuer = userCert.getIssuerDN();
251 if (issuer.equals(pkcsCerts[i].getSubjectDN())) {
260 issuer = pkcsCerts[i].getIssuerDN();
492 out += "Signer Info for (issuer): " + issuerName + "\n";
/libcore/luni/src/test/java/libcore/java/security/cert/
H A DPKIXRevocationCheckerTest.java25 PrivateKeyEntry issuer; field in class:PKIXRevocationCheckerTest
41 issuer = intermediate.getPrivateKey("RSA", "RSA");
55 byte[] goodOCSPResponse = TestKeyStore.getOCSPResponseForGood(entity, issuer);
75 checker.setOcspResponderCert((X509Certificate) issuer.getCertificate());
76 assertEquals((X509Certificate) issuer.getCertificate(), checker.getOcspResponderCert());
H A DCertificateFactoryTest.java524 private static KeyHolder generateCertificate(boolean isCa, KeyHolder issuer) throws Exception { argument
539 if (issuer != null) {
540 serial = issuer.certificate.getSerialNumber().add(BigInteger.ONE);
542 issuerPrincipal = issuer.certificate.getSubjectX500Principal();
543 caKey = issuer.privateKey;
569 if (issuer != null) {
571 new AuthorityKeyIdentifierStructure(issuer.certificate));
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DIndexedCollectionCertStore.java44 * by issuer, non-X509 Certificates and CRLs are copied without indexing,
103 * Map X500Principal(issuer) -> X509CRL | List of X509CRL
202 X500Principal issuer = crl.getIssuerX500Principal();
203 Object oldEntry = crlIssuers.put(issuer, crl);
212 crlIssuers.put(issuer, list);
220 crlIssuers.put(issuer, list);
368 // see if the issuer is specified
372 for (X500Principal issuer : issuers) {
373 Object entry = crlIssuers.get(issuer);
H A DDistributionPointFetcher.java207 // make sure issuer is not set
208 // we check the issuer in verifyCRLs method
313 * @param validity the time for which the validity of the CRL issuer's
330 // if crlIssuer is set, verify that it matches the issuer of the
332 // boolean asserted. Otherwise, verify that the CRL issuer matches the
333 // certificate issuer.
356 // we accept the case that a CRL issuer provide status
366 debug.println("crl issuer does not equal cert issuer");
370 // in case of self-issued indirect CRL issuer
708 getFullNames(X500Name issuer, RDN rdn) argument
[all...]
H A DRevocationChecker.java240 private static X509Certificate getResponderCert(String issuer, argument
248 sel.setIssuer(new X500Principal(issuer));
787 * @param prevKey the public key of the issuer of cert
814 // and a DP name of the cert issuer.
855 * only CRLs signed with a different key (but the same issuer
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestCertUtils.java422 X500Principal issuer) {
423 super(subj, issuer);
438 private X500Principal issuer; field in class:TestCertUtils.TestX509Certificate
440 public TestX509Certificate(X500Principal subj, X500Principal issuer) { argument
442 this.issuer = issuer;
446 return issuer;
462 byte[] aissuer = issuer.getEncoded();
421 TestInvalidX509Certificate(X500Principal subj, X500Principal issuer) argument
/libcore/ojluni/src/main/java/java/security/cert/
H A DX509CRLSelector.java95 * Sets the issuerNames criterion. The issuer distinguished name in the
97 * distinguished names. If <code>null</code>, any issuer distinguished name
101 * the complete set of issuer names which <code>X509CRLs</code> may contain.
140 * Sets the issuerNames criterion. The issuer distinguished name in the
142 * distinguished names. If <code>null</code>, any issuer distinguished name
146 * the complete set of issuer names which <code>X509CRLs</code> may contain.
210 * Adds a name to the issuerNames criterion. The issuer distinguished
214 * This method allows the caller to add a name to the set of issuer names
219 * @param issuer the issuer a
222 addIssuer(X500Principal issuer) argument
[all...]
H A DX509CertSelector.java66 * number. Other unique combinations include the issuer, subject,
99 private X500Principal issuer; field in class:X509CertSelector
194 * Sets the issuer criterion. The specified distinguished name
195 * must match the issuer distinguished name in the
196 * <code>X509Certificate</code>. If <code>null</code>, any issuer
199 * @param issuer a distinguished name as X500Principal
203 public void setIssuer(X500Principal issuer) { argument
204 this.issuer = issuer;
215 * Sets the issuer criterio
[all...]
/libcore/support/src/test/java/libcore/java/security/
H A DTestKeyStore.java564 X500Principal issuer = ((caCert != null)
568 x509c = createCertificate(publicKey, signingKey, subject, issuer, keyUsage, ca,
625 X500Principal issuer,
663 x509cg.setIssuerDN(issuer);
824 return issuer(keyStore, cert);
832 public static Certificate issuer(KeyStore keyStore, Certificate c) method in class:TestKeyStore
835 throw new IllegalStateException("issuer requires an X509Certificate, found " + c);
877 private static OCSPResp generateOCSPResponse(PrivateKeyEntry server, PrivateKeyEntry issuer, argument
881 X509Certificate caCertJca = (X509Certificate) issuer.getCertificate();
896 new JcaContentSignerBuilder("SHA256withRSA").build(issuer
621 createCertificate( PublicKey publicKey, PrivateKey privateKey, X500Principal subject, X500Principal issuer, int keyUsage, boolean ca, List<KeyPurposeId> extendedKeyUsages, List<Boolean> criticalExtendedKeyUsages, List<GeneralName> subjectAltNames, List<GeneralSubtree> permittedNameConstraints, List<GeneralSubtree> excludedNameConstraints, BigInteger serialNumber) argument
906 getOCSPResponseForGood(PrivateKeyEntry server, PrivateKeyEntry issuer) argument
914 getOCSPResponseForRevoked(PrivateKeyEntry server, PrivateKeyEntry issuer) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ldap/
H A DLDAPCertStore.java580 * issuer is specified, its directory entry is searched. If neither the
581 * subject nor the issuer are specified (or the selector is not an
608 String issuer = xsel.getIssuerAsString();
668 if (issuer == null) {
669 throw new CertStoreException("need subject or issuer to find certs");
676 if ((issuer != null) && (basicConstraints > -2)) {
677 LDAPRequest request = new LDAPRequest(issuer);
688 + "getMatchingCrossCerts(issuer,null,xsel),certs.size(): "
694 + "getCertificates(issuer,CA_CERT,xsel),certs.size(): "
761 * If issuerNames or certChecking are specified, the issuer'
[all...]
/libcore/ojluni/src/main/java/sun/security/validator/
H A DPKIXValidator.java256 X500Principal issuer = last.getIssuerX500Principal();
258 if (trustedSubjects.containsKey(issuer) &&
259 isSignatureValid(trustedSubjects.get(issuer), last)) {
H A DSimpleValidator.java375 X500Principal issuer = cert.getIssuerX500Principal();
376 List<X509Certificate> list = trustedX500Principals.get(issuer);
391 * same subject and issuer names but a new validity period, etc.
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestKeyManager.java110 for (Principal issuer : issuers) {
111 out.print(issuer);
/libcore/luni/src/test/java/tests/security/cert/
H A DX509CertSelectorTest.java373 assertEquals("The returned issuer should be equal to specified",
375 assertFalse("The returned issuer should differ",
384 // manually obtained DER encoding of "O=First Org." issuer name;
389 // manually obtained DER encoding of "O=Second Org." issuer name;
398 assertTrue("The returned issuer should be equal to specified",
400 assertFalse("The returned issuer should differ", name2.equals(selector.getIssuerAsBytes()));
402 assertTrue("The returned issuer should be equal to specified",
418 assertEquals("The returned issuer should be equal to specified", name1,
420 assertFalse("The returned issuer should differ",
423 assertEquals("The returned issuer shoul
1594 protected X500Principal issuer = null; field in class:X509CertSelectorTest.TestCert
1716 setIssuer(X500Principal issuer) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DX509KeyManagerImpl.java291 // if possible, check the public key in the issuer cert
297 X509Certificate issuer = (X509Certificate)chain[0];
298 String sigAlgName = issuer.getSigAlgName().toUpperCase(ENGLISH);

Completed in 414 milliseconds