/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | TestKeyManager.java | 62 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 …]
|
D | ForwardingX509ExtendedKeyManager.java | 33 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/ |
D | ForwardingX509ExtendedKeyManager.java | 35 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 …]
|
D | TestKeyManager.java | 64 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/ |
D | KeyManagerImpl.java | 91 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 …]
|
D | NativeSsl.java | 217 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()
|
D | ConscryptEngineSocket.java | 601 public final String chooseClientAlias(X509KeyManager keyManager, X500Principal[] issuers, 603 return keyManager.chooseClientAlias(keyTypes, issuers, this);
|
D | ConscryptFileDescriptorSocket.java | 1193 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/ |
D | KeyManagerImpl.java | 93 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 …]
|
D | NativeSsl.java | 218 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/ |
D | PKIXCertPathBuilderSpi.java | 235 Collection issuers = new HashSet(); in build() local 240 …issuers.addAll(CertPathValidatorUtilities.findIssuerCerts(tbvCert, pkixParams.getBaseParameters().… in build() 248 if (issuers.isEmpty()) in build() 253 Iterator it = issuers.iterator(); in build()
|
D | CertPathValidatorUtilities.java | 832 List issuers = new ArrayList(); in getCRLIssuersFromDistributionPoint() local 844 … issuers.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/ |
D | PKIXCertPathBuilderSpi.java | 233 Collection issuers = new HashSet(); in build() local 238 …issuers.addAll(CertPathValidatorUtilities.findIssuerCerts(tbvCert, pkixParams.getBaseParameters().… in build() 246 if (issuers.isEmpty()) in build() 251 Iterator it = issuers.iterator(); in build()
|
D | CertPathValidatorUtilities.java | 831 List issuers = new ArrayList(); in getCRLIssuersFromDistributionPoint() local 843 … issuers.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/ |
D | PKIXCertPathBuilderSpi.java | 235 Collection issuers = new HashSet(); in build() local 240 …issuers.addAll(CertPathValidatorUtilities.findIssuerCerts(tbvCert, pkixParams.getBaseParameters().… in build() 248 if (issuers.isEmpty()) in build() 253 Iterator it = issuers.iterator(); in build()
|
D | CertPathValidatorUtilities.java | 832 List issuers = new ArrayList(); in getCRLIssuersFromDistributionPoint() local 844 … issuers.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/ |
D | RevocationUtilities.java | 207 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/ |
D | TrustedCertificateStore.java | 403 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/ |
D | TrustManagerFactoryTest.java | 160 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()
|
D | SSLSocketVersionCompatibilityTest.java | 631 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/ |
D | TrustManagerFactoryTest.java | 164 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()
|
D | SSLSocketVersionCompatibilityTest.java | 633 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/ |
D | x_crl.c | 179 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/ |
D | x_crl.c | 179 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/ |
D | TrustedCertificateStore.java | 423 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()
|