Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/security/x509/
DX509CRLImpl.java103 private X500Name issuer = null; field in X509CRLImpl
191 public X509CRLImpl(X500Name issuer, Date thisDate, Date nextDate) { in X509CRLImpl() argument
192 this.issuer = issuer; in X509CRLImpl()
207 public X509CRLImpl(X500Name issuer, Date thisDate, Date nextDate, in X509CRLImpl() argument
211 this.issuer = issuer; in X509CRLImpl()
247 public X509CRLImpl(X500Name issuer, Date thisDate, Date nextDate, in X509CRLImpl() argument
251 this(issuer, thisDate, nextDate, badCerts); in X509CRLImpl()
294 if ((version == 0) && (issuer.toString() == null)) in encodeInfo()
296 issuer.encode(tmp); in encodeInfo()
550 if (issuer != null) in toString()
[all …]
DCertificatePolicyMap.java48 public CertificatePolicyMap(CertificatePolicyId issuer, in CertificatePolicyMap() argument
50 this.issuerDomain = issuer; in CertificatePolicyMap()
DX509CertInfo.java87 protected X500Name issuer = null; field in X509CertInfo
295 || issuer == null || algId == null || serialNum == null) { in toString()
306 sb.append(" Issuer: " + issuer.toString() + "\n"); in toString()
489 issuer = null; in delete()
563 return(issuer); in get()
611 return getIssuer ? issuer : subject; in getX500Name()
613 return getIssuer ? issuer.asX500Principal() in getX500Name()
649 issuer = new X500Name(in); in parse()
650 if (issuer.isEmpty()) { in parse()
767 (issuer.toString() == null)) in emit()
[all …]
DCertificateIssuerExtension.java94 public CertificateIssuerExtension(GeneralNames issuer) throws IOException { in CertificateIssuerExtension() argument
97 this.names = issuer; in CertificateIssuerExtension()
DDistributionPoint.java312 DerOutputStream issuer = new DerOutputStream(); in encode() local
313 crlIssuer.encode(issuer); in encode()
316 issuer); in encode() local
DX509CertImpl.java944 Principal issuer = (Principal)info.get(X509CertInfo.ISSUER + DOT + in getIssuerDN() local
946 return issuer; in getIssuerDN()
962 X500Principal issuer = (X500Principal)info.get( in getIssuerX500Principal() local
965 return issuer; in getIssuerX500Principal()
1945 X500Principal issuer = cert.getIssuerX500Principal(); in isSelfIssued() local
1946 return subject.equals(issuer); in isSelfIssued()
/libcore/ojluni/src/main/java/sun/security/pkcs/
DSigningCertificateInfo.java136 private GeneralNames issuer; field in ESSCertId
147 issuer = new GeneralNames(issuerSerial.data.getDerValue()); in ESSCertId()
160 if (issuer != null && serialNumber != null) { in toString()
161 buffer.append("\n\tIssuer: " + issuer + "\n"); in toString()
DSignerInfo.java291 Principal issuer = userCert.getIssuerDN(); in getCertificateChain() local
297 if (issuer.equals(pkcsCerts[i].getSubjectDN())) { in getCertificateChain()
306 issuer = pkcsCerts[i].getIssuerDN(); in getCertificateChain()
/libcore/luni/src/test/java/libcore/java/security/cert/
DPKIXRevocationCheckerTest.java35 PrivateKeyEntry issuer; field in PKIXRevocationCheckerTest
51 issuer = intermediate.getPrivateKey("RSA", "RSA"); in setUp()
65 byte[] goodOCSPResponse = TestKeyStore.getOCSPResponseForGood(entity, issuer); in test_CanSetOCSPResponse()
85 checker.setOcspResponderCert((X509Certificate) issuer.getCertificate()); in test_getOcspResponderCert()
86 assertEquals((X509Certificate) issuer.getCertificate(), checker.getOcspResponderCert()); in test_getOcspResponderCert()
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DX509CRLImpl.java52 sun.security.x509.X500Name issuer, java.util.Date thisDate, java.util.Date nextDate) { in X509CRLImpl() argument
57 sun.security.x509.X500Name issuer, in X509CRLImpl() argument
66 sun.security.x509.X500Name issuer, in X509CRLImpl() argument
284 private sun.security.x509.X500Name issuer; field in X509CRLImpl
319 javax.security.auth.x500.X500Principal issuer, java.math.BigInteger serial) { in X509IssuerSerial() argument
349 final javax.security.auth.x500.X500Principal issuer; field in X509CRLImpl.X509IssuerSerial
352 issuer = null;
DX509CertInfo.java218 protected sun.security.x509.X500Name issuer; field in X509CertInfo
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java422 X500Principal issuer) { in TestInvalidX509Certificate() argument
423 super(subj, issuer); in TestInvalidX509Certificate()
438 private X500Principal issuer; field in TestCertUtils.TestX509Certificate
440 public TestX509Certificate(X500Principal subj, X500Principal issuer) { in TestX509Certificate() argument
442 this.issuer = issuer; in TestX509Certificate()
446 return issuer; in getIssuerX500Principal()
462 byte[] aissuer = issuer.getEncoded(); in getEncoded()
/libcore/ojluni/src/main/java/java/security/cert/
DX509CRLSelector.java222 public void addIssuer(X500Principal issuer) { in addIssuer() argument
223 addIssuerNameInternal(issuer.getEncoded(), issuer); in addIssuer() local
604 X500Principal issuer = xcrl.getIssuerX500Principal(); in match() local
608 if (i.next().equals(issuer)) { in match()
DX509CertSelector.java98 private X500Principal issuer; field in X509CertSelector
202 public void setIssuer(X500Principal issuer) { in setIssuer() argument
203 this.issuer = issuer; in setIssuer()
228 issuer = null; in setIssuer()
230 issuer = new X500Name(issuerDN).asX500Principal(); in setIssuer()
278 issuer = (issuerDN == null ? null : new X500Principal(issuerDN)); in setIssuer()
1318 return issuer; in getIssuer()
1340 return (issuer == null ? null : issuer.getName()); in getIssuerAsString()
1363 return (issuer == null ? null: issuer.getEncoded()); in getIssuerAsBytes()
1822 if (issuer != null) { in toString()
[all …]
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java610 X500Principal issuer = ((caCert != null) in createKeys() local
614 x509c = createCertificate(publicKey, signingKey, subject, issuer, keyUsage, ca, in createKeys()
671 X500Principal issuer, in createCertificate() argument
714 X500Name.getInstance(issuer.getEncoded()), serialNumber, start, end, in createCertificate()
872 return issuer(keyStore, cert); in getIssuer()
880 public static Certificate issuer(KeyStore keyStore, Certificate c) in issuer() method in TestKeyStore
925 private static OCSPResp generateOCSPResponse(PrivateKeyEntry server, PrivateKeyEntry issuer, in generateOCSPResponse() argument
929 X509Certificate caCertJca = (X509Certificate) issuer.getCertificate(); in generateOCSPResponse()
944 new JcaContentSignerBuilder("SHA256withRSA").build(issuer.getPrivateKey()), in generateOCSPResponse()
954 …public static byte[] getOCSPResponseForGood(PrivateKeyEntry server, PrivateKeyEntry issuer) throws… in getOCSPResponseForGood() argument
[all …]
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestKeyManager.java109 for (Principal issuer : issuers) { in dumpIssuers()
110 out.print(issuer); in dumpIssuers()
/libcore/support/src/test/java/tests/resources/x509/
Ddefault.cnf220 authorityKeyIdentifier=keyid,issuer:always
290 authorityKeyIdentifier=keyid:always,issuer:always
294 authorityKeyIdentifier=keyid:always,issuer:always
/libcore/luni/src/test/java/tests/security/cert/
DX509CertSelectorTest.java1596 protected X500Principal issuer = null; field in X509CertSelectorTest.TestCert
1718 public void setIssuer(X500Principal issuer) { in setIssuer() argument
1719 this.issuer = issuer; in setIssuer()
1787 return issuer; in getIssuerDN()
1791 return issuer; in getIssuerX500Principal()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DDistributionPointFetcher.java714 private static GeneralNames getFullNames(X500Name issuer, RDN rdn) in getFullNames() argument
717 List<RDN> rdns = new ArrayList<>(issuer.rdns()); in getFullNames()
DRevocationChecker.java240 private static X509Certificate getResponderCert(String issuer,
248 sel.setIssuer(new X500Principal(issuer));