/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 | 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 …]
|
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 …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | KeyManagerImpl.java | 85 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias() argument 86 final String[] al = chooseAlias(keyTypes, issuers); in chooseClientAlias() 91 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument 92 final String[] al = chooseAlias(new String[] { keyType }, issuers); in chooseServerAlias() 116 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument 117 return chooseAlias(new String[] { keyType }, issuers); in getClientAliases() 121 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument 122 return chooseAlias(new String[] { keyType }, issuers); in getServerAliases() 137 … public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument 138 final String[] al = chooseAlias(keyTypes, issuers); in chooseEngineClientAlias() [all …]
|
D | NativeSsl.java | 216 X500Principal[] issuers; in chooseClientCertificate() local 218 issuers = null; in chooseClientCertificate() 220 issuers = new X500Principal[asn1DerEncodedPrincipals.length]; in chooseClientCertificate() 222 issuers[i] = new X500Principal(asn1DerEncodedPrincipals[i]); in chooseClientCertificate() 227 ? aliasChooser.chooseClientAlias(keyManager, issuers, keyTypes) in chooseClientCertificate() 493 X509Certificate[] issuers = trustManager.getAcceptedIssuers(); in setCertificateValidation() local 494 if (issuers != null && issuers.length != 0) { in setCertificateValidation() 497 issuersBytes = SSLUtils.encodeSubjectX509Principals(issuers); in setCertificateValidation()
|
D | ConscryptFileDescriptorSocket.java | 1130 public final String chooseClientAlias(X509KeyManager keyManager, X500Principal[] issuers, 1132 return keyManager.chooseClientAlias(keyTypes, issuers, this);
|
D | ConscryptEngine.java | 1710 X509KeyManager keyManager, X500Principal[] issuers, String[] keyTypes) { 1713 return ekm.chooseEngineClientAlias(keyTypes, issuers, this); 1715 return keyManager.chooseClientAlias(keyTypes, issuers, null);
|
D | SSLParametersImpl.java | 476 String chooseClientAlias(X509KeyManager keyManager, X500Principal[] issuers, in chooseClientAlias() argument
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | KeyManagerImpl.java | 86 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias() argument 87 final String[] al = chooseAlias(keyTypes, issuers); in chooseClientAlias() 92 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument 93 final String[] al = chooseAlias(new String[] { keyType }, issuers); in chooseServerAlias() 117 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument 118 return chooseAlias(new String[] { keyType }, issuers); in getClientAliases() 122 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument 123 return chooseAlias(new String[] { keyType }, issuers); in getServerAliases() 138 … public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument 139 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() 494 X509Certificate[] issuers = trustManager.getAcceptedIssuers(); in setCertificateValidation() local 495 if (issuers != null && issuers.length != 0) { in setCertificateValidation() 498 issuersBytes = SSLUtils.encodeSubjectX509Principals(issuers); in setCertificateValidation()
|
D | ConscryptFileDescriptorSocket.java | 1133 public final String chooseClientAlias(X509KeyManager keyManager, X500Principal[] issuers, 1135 return keyManager.chooseClientAlias(keyTypes, issuers, this);
|
D | ConscryptEngine.java | 1711 X509KeyManager keyManager, X500Principal[] issuers, String[] keyTypes) { 1714 return ekm.chooseEngineClientAlias(keyTypes, issuers, this); 1716 return keyManager.chooseClientAlias(keyTypes, issuers, null);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | PKIXCertPathBuilderSpi.java | 242 Collection issuers = new HashSet(); in build() local 247 …issuers.addAll(CertPathValidatorUtilities.findIssuerCerts(tbvCert, pkixParams.getBaseParameters().… in build() 255 if (issuers.isEmpty()) in build() 260 Iterator it = issuers.iterator(); in build()
|
D | CertPathValidatorUtilities.java | 780 List issuers = new ArrayList(); in getCRLIssuersFromDistributionPoint() local 792 issuers.add(X500Name.getInstance(genNames[j].getName() in getCRLIssuersFromDistributionPoint() 818 issuers.add(it.next()); in getCRLIssuersFromDistributionPoint() 865 Iterator it = issuers.iterator(); in getCRLIssuersFromDistributionPoint() 1108 Set issuers = new HashSet(); in getCompleteCRLs() local 1110 issuers.add(PrincipalUtils.getEncodedIssuerPrincipal(cert)); in getCompleteCRLs() 1112 … CertPathValidatorUtilities.getCRLIssuersFromDistributionPoint(dp, issuers, baseCrlSelect); in getCompleteCRLs()
|
/external/boringssl/src/crypto/x509/ |
D | x_crl.c | 176 if (!crl->issuers) { 177 crl->issuers = sk_GENERAL_NAMES_new_null(); 178 if (!crl->issuers) 181 if (!sk_GENERAL_NAMES_push(crl->issuers, gtmp)) 239 crl->issuers = NULL; in crl_cb() 314 sk_GENERAL_NAMES_pop_free(crl->issuers, GENERAL_NAMES_free); in crl_cb()
|
/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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/ |
D | PKIXCertPathBuilderSpi.java | 244 Collection issuers = new HashSet(); in build() local 249 …issuers.addAll(CertPathValidatorUtilities.findIssuerCerts(tbvCert, pkixParams.getBaseParameters().… in build() 257 if (issuers.isEmpty()) in build() 262 Iterator it = issuers.iterator(); in build()
|
D | CertPathValidatorUtilities.java | 781 List issuers = new ArrayList(); in getCRLIssuersFromDistributionPoint() local 793 issuers.add(X500Name.getInstance(genNames[j].getName() in getCRLIssuersFromDistributionPoint() 819 issuers.add(it.next()); in getCRLIssuersFromDistributionPoint() 866 Iterator it = issuers.iterator(); in getCRLIssuersFromDistributionPoint() 1109 Set issuers = new HashSet(); in getCompleteCRLs() local 1111 issuers.add(PrincipalUtils.getEncodedIssuerPrincipal(cert)); in getCompleteCRLs() 1113 … CertPathValidatorUtilities.getCRLIssuersFromDistributionPoint(dp, issuers, baseCrlSelect); in getCompleteCRLs()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | TrustManagerFactoryTest.java | 161 X509Certificate[] issuers = tm.getAcceptedIssuers(); in test_X509TrustManager() local 162 assertNotNull(issuers); in test_X509TrustManager() 163 assertTrue(issuers.length > 1); in test_X509TrustManager() 164 assertNotSame(issuers, tm.getAcceptedIssuers()); in test_X509TrustManager() 167 = issuers.length > in test_X509TrustManager()
|
D | SSLSocketVersionCompatibilityTest.java | 651 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in test_SSLSocket_clientAuth_bogusAlias() 655 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in test_SSLSocket_clientAuth_bogusAlias() 664 public String[] getClientAliases(String keyType, Principal[] issuers) { in test_SSLSocket_clientAuth_bogusAlias() 668 public String[] getServerAliases(String keyType, Principal[] issuers) { in test_SSLSocket_clientAuth_bogusAlias() 742 String[] keyType, Principal[] issuers, Socket socket) { in run_SSLSocket_clientAuth_OpaqueKey() 743 return delegateKeyManager.chooseClientAlias(keyType, issuers, socket); in run_SSLSocket_clientAuth_OpaqueKey() 747 String keyType, Principal[] issuers, Socket socket) { in run_SSLSocket_clientAuth_OpaqueKey() 748 return delegateKeyManager.chooseServerAlias(keyType, issuers, socket); in run_SSLSocket_clientAuth_OpaqueKey() 755 public String[] getClientAliases(String keyType, Principal[] issuers) { in run_SSLSocket_clientAuth_OpaqueKey() 756 return delegateKeyManager.getClientAliases(keyType, issuers); in run_SSLSocket_clientAuth_OpaqueKey() [all …]
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | TrustManagerFactoryTest.java | 165 X509Certificate[] issuers = tm.getAcceptedIssuers(); in test_X509TrustManager() local 166 assertNotNull(issuers); in test_X509TrustManager() 167 assertTrue(issuers.length > 1); in test_X509TrustManager() 168 assertNotSame(issuers, tm.getAcceptedIssuers()); in test_X509TrustManager() 171 = issuers.length > in test_X509TrustManager()
|
D | SSLSocketVersionCompatibilityTest.java | 653 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in test_SSLSocket_clientAuth_bogusAlias() 657 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in test_SSLSocket_clientAuth_bogusAlias() 666 public String[] getClientAliases(String keyType, Principal[] issuers) { in test_SSLSocket_clientAuth_bogusAlias() 670 public String[] getServerAliases(String keyType, Principal[] issuers) { in test_SSLSocket_clientAuth_bogusAlias() 744 String[] keyType, Principal[] issuers, Socket socket) { in run_SSLSocket_clientAuth_OpaqueKey() 745 return delegateKeyManager.chooseClientAlias(keyType, issuers, socket); in run_SSLSocket_clientAuth_OpaqueKey() 749 String keyType, Principal[] issuers, Socket socket) { in run_SSLSocket_clientAuth_OpaqueKey() 750 return delegateKeyManager.chooseServerAlias(keyType, issuers, socket); in run_SSLSocket_clientAuth_OpaqueKey() 757 public String[] getClientAliases(String keyType, Principal[] issuers) { in run_SSLSocket_clientAuth_OpaqueKey() 758 return delegateKeyManager.getClientAliases(keyType, issuers); in run_SSLSocket_clientAuth_OpaqueKey() [all …]
|
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/ |
D | TrustedCertificateStore.java | 424 Set<X509Certificate> issuers = null; in findAllIssuers() local 439 issuers = userAddedCerts; in findAllIssuers() 457 if (issuers != null) { in findAllIssuers() 458 issuers.addAll(systemCerts); in findAllIssuers() 460 issuers = systemCerts; in findAllIssuers() 463 return (issuers != null) ? issuers : Collections.<X509Certificate>emptySet(); in findAllIssuers()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/pkix/jcajce/ |
D | RevocationUtilities.java | 478 List issuers = new ArrayList(); in getCRLIssuersFromDistributionPoint() local 490 issuers.add(X500Name.getInstance(genNames[j].getName() in getCRLIssuersFromDistributionPoint() 516 issuers.add(it.next()); in getCRLIssuersFromDistributionPoint() 563 Iterator it = issuers.iterator(); in getCRLIssuersFromDistributionPoint() 803 Set issuers = new HashSet(); in getCompleteCRLs() local 805 … issuers.add(X500Name.getInstance(((X509Certificate)cert).getIssuerX500Principal().getEncoded())); in getCompleteCRLs() 807 RevocationUtilities.getCRLIssuersFromDistributionPoint(dp, issuers, baseCrlSelect); in getCompleteCRLs()
|