Home
last modified time | relevance | path

Searched refs:issuers (Results 1 – 25 of 44) sorted by relevance

12

/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestKeyManager.java62 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
69 dumpIssuers(issuers); in chooseClientAlias()
72 return dumpAlias(keyManager.chooseClientAlias(keyTypes, issuers, socket)); in chooseClientAlias()
88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
93 dumpIssuers(issuers); in chooseServerAlias()
96 return dumpAlias(keyManager.chooseServerAlias(keyType, issuers, socket)); in chooseServerAlias()
104 private void dumpIssuers(Principal[] issuers) { in dumpIssuers() argument
106 if (issuers == null) { in dumpIssuers()
110 for (Principal issuer : issuers) { in dumpIssuers()
141 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
[all …]
DForwardingX509ExtendedKeyManager.java33 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
34 return delegate.chooseClientAlias(keyType, issuers, socket); in chooseClientAlias()
37 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
38 return delegate.chooseServerAlias(keyType, issuers, socket); in chooseServerAlias()
45 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
46 return delegate.getClientAliases(keyType, issuers); in getClientAliases()
49 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument
50 return delegate.getServerAliases(keyType, issuers); in getServerAliases()
53 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument
54 return delegate.chooseEngineClientAlias(keyType, issuers, engine); in chooseEngineClientAlias()
[all …]
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DForwardingX509ExtendedKeyManager.java35 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
36 return delegate.chooseClientAlias(keyType, issuers, socket); in chooseClientAlias()
39 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
40 return delegate.chooseServerAlias(keyType, issuers, socket); in chooseServerAlias()
47 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
48 return delegate.getClientAliases(keyType, issuers); in getClientAliases()
51 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument
52 return delegate.getServerAliases(keyType, issuers); in getServerAliases()
55 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument
56 return delegate.chooseEngineClientAlias(keyType, issuers, engine); in chooseEngineClientAlias()
[all …]
DTestKeyManager.java64 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
71 dumpIssuers(issuers); in chooseClientAlias()
74 return dumpAlias(keyManager.chooseClientAlias(keyTypes, issuers, socket)); in chooseClientAlias()
90 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
95 dumpIssuers(issuers); in chooseServerAlias()
98 return dumpAlias(keyManager.chooseServerAlias(keyType, issuers, socket)); in chooseServerAlias()
106 private void dumpIssuers(Principal[] issuers) { in dumpIssuers() argument
108 if (issuers == null) { in dumpIssuers()
112 for (Principal issuer : issuers) { in dumpIssuers()
143 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DKeyManagerImpl.java91 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
92 final String[] al = chooseAlias(keyTypes, issuers); in chooseClientAlias()
97 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
98 final String[] al = chooseAlias(new String[] { keyType }, issuers); in chooseServerAlias()
122 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
123 return chooseAlias(new String[] { keyType }, issuers); in getClientAliases()
127 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument
128 return chooseAlias(new String[] { keyType }, issuers); in getServerAliases()
143 … public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument
144 final String[] al = chooseAlias(keyTypes, issuers); in chooseEngineClientAlias()
[all …]
DNativeSsl.java217 X500Principal[] issuers; in chooseClientCertificate() local
219 issuers = null; in chooseClientCertificate()
221 issuers = new X500Principal[asn1DerEncodedPrincipals.length]; in chooseClientCertificate()
223 issuers[i] = new X500Principal(asn1DerEncodedPrincipals[i]); in chooseClientCertificate()
228 ? aliasChooser.chooseClientAlias(keyManager, issuers, keyTypes) in chooseClientCertificate()
514 X509Certificate[] issuers = trustManager.getAcceptedIssuers(); in setCertificateValidation() local
515 if (issuers != null && issuers.length != 0) { in setCertificateValidation()
518 issuersBytes = SSLUtils.encodeSubjectX509Principals(issuers); in setCertificateValidation()
DConscryptEngineSocket.java601 public final String chooseClientAlias(X509KeyManager keyManager, X500Principal[] issuers,
603 return keyManager.chooseClientAlias(keyTypes, issuers, this);
DConscryptFileDescriptorSocket.java1193 public final String chooseClientAlias(X509KeyManager keyManager, X500Principal[] issuers,
1195 return keyManager.chooseClientAlias(keyTypes, issuers, this);
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DKeyManagerImpl.java93 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
94 final String[] al = chooseAlias(keyTypes, issuers); in chooseClientAlias()
99 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
100 final String[] al = chooseAlias(new String[] { keyType }, issuers); in chooseServerAlias()
124 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
125 return chooseAlias(new String[] { keyType }, issuers); in getClientAliases()
129 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument
130 return chooseAlias(new String[] { keyType }, issuers); in getServerAliases()
145 … public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument
146 final String[] al = chooseAlias(keyTypes, issuers); in chooseEngineClientAlias()
[all …]
DNativeSsl.java218 X500Principal[] issuers; in chooseClientCertificate() local
220 issuers = null; in chooseClientCertificate()
222 issuers = new X500Principal[asn1DerEncodedPrincipals.length]; in chooseClientCertificate()
224 issuers[i] = new X500Principal(asn1DerEncodedPrincipals[i]); in chooseClientCertificate()
229 ? aliasChooser.chooseClientAlias(keyManager, issuers, keyTypes) in chooseClientCertificate()
515 X509Certificate[] issuers = trustManager.getAcceptedIssuers(); in setCertificateValidation() local
516 if (issuers != null && issuers.length != 0) { in setCertificateValidation()
519 issuersBytes = SSLUtils.encodeSubjectX509Principals(issuers); in setCertificateValidation()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DPKIXCertPathBuilderSpi.java235 Collection issuers = new HashSet(); in build() local
240issuers.addAll(CertPathValidatorUtilities.findIssuerCerts(tbvCert, pkixParams.getBaseParameters().… in build()
248 if (issuers.isEmpty()) in build()
253 Iterator it = issuers.iterator(); in build()
DCertPathValidatorUtilities.java832 List issuers = new ArrayList(); in getCRLIssuersFromDistributionPoint() local
844issuers.add(X500Name.getInstance(genNames[j].getName().toASN1Primitive().getEncoded())); in getCRLIssuersFromDistributionPoint()
868 issuers.add(it.next()); in getCRLIssuersFromDistributionPoint()
915 Iterator it = issuers.iterator(); in getCRLIssuersFromDistributionPoint()
1200 Set issuers = new HashSet(); in getCompleteCRLs() local
1201 issuers.add(PrincipalUtils.getEncodedIssuerPrincipal(cert)); in getCompleteCRLs()
1203 … CertPathValidatorUtilities.getCRLIssuersFromDistributionPoint(dp, issuers, baseCrlSelect); in getCompleteCRLs()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPKIXCertPathBuilderSpi.java233 Collection issuers = new HashSet(); in build() local
238issuers.addAll(CertPathValidatorUtilities.findIssuerCerts(tbvCert, pkixParams.getBaseParameters().… in build()
246 if (issuers.isEmpty()) in build()
251 Iterator it = issuers.iterator(); in build()
DCertPathValidatorUtilities.java831 List issuers = new ArrayList(); in getCRLIssuersFromDistributionPoint() local
843issuers.add(X500Name.getInstance(genNames[j].getName().toASN1Primitive().getEncoded())); in getCRLIssuersFromDistributionPoint()
867 issuers.add(it.next()); in getCRLIssuersFromDistributionPoint()
914 Iterator it = issuers.iterator(); in getCRLIssuersFromDistributionPoint()
1199 Set issuers = new HashSet(); in getCompleteCRLs() local
1200 issuers.add(PrincipalUtils.getEncodedIssuerPrincipal(cert)); in getCompleteCRLs()
1202 … CertPathValidatorUtilities.getCRLIssuersFromDistributionPoint(dp, issuers, baseCrlSelect); in getCompleteCRLs()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DPKIXCertPathBuilderSpi.java235 Collection issuers = new HashSet(); in build() local
240issuers.addAll(CertPathValidatorUtilities.findIssuerCerts(tbvCert, pkixParams.getBaseParameters().… in build()
248 if (issuers.isEmpty()) in build()
253 Iterator it = issuers.iterator(); in build()
DCertPathValidatorUtilities.java832 List issuers = new ArrayList(); in getCRLIssuersFromDistributionPoint() local
844issuers.add(X500Name.getInstance(genNames[j].getName().toASN1Primitive().getEncoded())); in getCRLIssuersFromDistributionPoint()
868 issuers.add(it.next()); in getCRLIssuersFromDistributionPoint()
915 Iterator it = issuers.iterator(); in getCRLIssuersFromDistributionPoint()
1200 Set issuers = new HashSet(); in getCompleteCRLs() local
1201 issuers.add(PrincipalUtils.getEncodedIssuerPrincipal(cert)); in getCompleteCRLs()
1203 … CertPathValidatorUtilities.getCRLIssuersFromDistributionPoint(dp, issuers, baseCrlSelect); in getCompleteCRLs()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/pkix/jcajce/
DRevocationUtilities.java207 List issuers = new ArrayList(); in getCRLIssuersFromDistributionPoint() local
219 issuers.add(X500Name.getInstance(genNames[j].getName())); in getCRLIssuersFromDistributionPoint()
243 issuers.add(it.next()); in getCRLIssuersFromDistributionPoint()
290 Iterator it = issuers.iterator(); in getCRLIssuersFromDistributionPoint()
505 Set issuers = new HashSet(); in getCompleteCRLs() local
506 issuers.add(getIssuer((X509Certificate)cert)); in getCompleteCRLs()
508 RevocationUtilities.getCRLIssuersFromDistributionPoint(dp, issuers, baseCrlSelect); in getCompleteCRLs()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DTrustedCertificateStore.java403 Set<X509Certificate> issuers = null; in findAllIssuers() local
418 issuers = userAddedCerts; in findAllIssuers()
436 if (issuers != null) { in findAllIssuers()
437 issuers.addAll(systemCerts); in findAllIssuers()
439 issuers = systemCerts; in findAllIssuers()
442 return (issuers != null) ? issuers : Collections.<X509Certificate>emptySet(); in findAllIssuers()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DTrustManagerFactoryTest.java160 X509Certificate[] issuers = tm.getAcceptedIssuers(); in test_X509TrustManager() local
161 assertNotNull(issuers); in test_X509TrustManager()
162 assertTrue(issuers.length > 1); in test_X509TrustManager()
163 assertNotSame(issuers, tm.getAcceptedIssuers()); in test_X509TrustManager()
166 = issuers.length > in test_X509TrustManager()
DSSLSocketVersionCompatibilityTest.java631 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in test_SSLSocket_clientAuth_bogusAlias()
635 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in test_SSLSocket_clientAuth_bogusAlias()
644 public String[] getClientAliases(String keyType, Principal[] issuers) { in test_SSLSocket_clientAuth_bogusAlias()
648 public String[] getServerAliases(String keyType, Principal[] issuers) { in test_SSLSocket_clientAuth_bogusAlias()
652 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, in test_SSLSocket_clientAuth_bogusAlias()
657 public String chooseEngineServerAlias(String keyType, Principal[] issuers, in test_SSLSocket_clientAuth_bogusAlias()
732 String[] keyType, Principal[] issuers, Socket socket) { in run_SSLSocket_clientAuth_OpaqueKey()
733 return delegateKeyManager.chooseClientAlias(keyType, issuers, socket); in run_SSLSocket_clientAuth_OpaqueKey()
737 String keyType, Principal[] issuers, Socket socket) { in run_SSLSocket_clientAuth_OpaqueKey()
738 return delegateKeyManager.chooseServerAlias(keyType, issuers, socket); in run_SSLSocket_clientAuth_OpaqueKey()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DTrustManagerFactoryTest.java164 X509Certificate[] issuers = tm.getAcceptedIssuers(); in test_X509TrustManager() local
165 assertNotNull(issuers); in test_X509TrustManager()
166 assertTrue(issuers.length > 1); in test_X509TrustManager()
167 assertNotSame(issuers, tm.getAcceptedIssuers()); in test_X509TrustManager()
170 = issuers.length > in test_X509TrustManager()
DSSLSocketVersionCompatibilityTest.java633 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in test_SSLSocket_clientAuth_bogusAlias()
637 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in test_SSLSocket_clientAuth_bogusAlias()
646 public String[] getClientAliases(String keyType, Principal[] issuers) { in test_SSLSocket_clientAuth_bogusAlias()
650 public String[] getServerAliases(String keyType, Principal[] issuers) { in test_SSLSocket_clientAuth_bogusAlias()
655 String[] keyType, Principal[] issuers, SSLEngine engine) { in test_SSLSocket_clientAuth_bogusAlias()
660 String keyType, Principal[] issuers, SSLEngine engine) { in test_SSLSocket_clientAuth_bogusAlias()
734 String[] keyType, Principal[] issuers, Socket socket) { in run_SSLSocket_clientAuth_OpaqueKey()
735 return delegateKeyManager.chooseClientAlias(keyType, issuers, socket); in run_SSLSocket_clientAuth_OpaqueKey()
739 String keyType, Principal[] issuers, Socket socket) { in run_SSLSocket_clientAuth_OpaqueKey()
740 return delegateKeyManager.chooseServerAlias(keyType, issuers, socket); in run_SSLSocket_clientAuth_OpaqueKey()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx_crl.c179 if (!crl->issuers) {
180 crl->issuers = sk_GENERAL_NAMES_new_null();
181 if (!crl->issuers)
184 if (!sk_GENERAL_NAMES_push(crl->issuers, gtmp))
243 crl->issuers = NULL; in crl_cb()
336 sk_GENERAL_NAMES_pop_free(crl->issuers, GENERAL_NAMES_free); in crl_cb()
/external/boringssl/src/crypto/x509/
Dx_crl.c179 if (!crl->issuers) {
180 crl->issuers = sk_GENERAL_NAMES_new_null();
181 if (!crl->issuers)
184 if (!sk_GENERAL_NAMES_push(crl->issuers, gtmp))
243 crl->issuers = NULL; in crl_cb()
336 sk_GENERAL_NAMES_pop_free(crl->issuers, GENERAL_NAMES_free); in crl_cb()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/
DTrustedCertificateStore.java423 Set<X509Certificate> issuers = null; in findAllIssuers() local
438 issuers = userAddedCerts; in findAllIssuers()
456 if (issuers != null) { in findAllIssuers()
457 issuers.addAll(systemCerts); in findAllIssuers()
459 issuers = systemCerts; in findAllIssuers()
462 return (issuers != null) ? issuers : Collections.<X509Certificate>emptySet(); in findAllIssuers()

12