/libcore/support/src/test/java/libcore/javax/net/ssl/ |
ForwardingX509ExtendedKeyManager.java | 38 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { 39 return delegate.chooseClientAlias(keyType, issuers, socket); 43 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 44 return delegate.chooseServerAlias(keyType, issuers, socket); 53 public String[] getClientAliases(String keyType, Principal[] issuers) { 54 return delegate.getClientAliases(keyType, issuers); 58 public String[] getServerAliases(String keyType, Principal[] issuers) { 59 return delegate.getServerAliases(keyType, issuers); 63 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) { 64 return delegate.chooseEngineClientAlias(keyType, issuers, engine) [all...] |
TestKeyManager.java | 63 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 70 dumpIssuers(issuers); 73 return dumpAlias(keyManager.chooseClientAlias(keyTypes, issuers, socket)); 88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 93 dumpIssuers(issuers); 96 return dumpAlias(keyManager.chooseServerAlias(keyType, issuers, socket)); 104 private void dumpIssuers(Principal[] issuers) { 105 out.print(" | issuers: "); 106 if (issuers == null) { 110 for (Principal issuer : issuers) { [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
X509KeyManager.java | 32 * it with the specified public key type and certificate issuers. 36 * @param issuers 37 * the list of certificate issuers, or {@code null} if any issuer 45 public String chooseClientAlias(String[] keyType, Principal[] issuers, 50 * it with the specified public key type and certificate issuers. 54 * @param issuers 55 * the list of certificate issuers, or {@code null} if any issuer 63 public String chooseServerAlias(String keyType, Principal[] issuers, 78 * certificate issuers. 82 * @param issuers [all...] |
X509ExtendedKeyManager.java | 37 * it with the specified public key type and certificate issuers. 41 * @param issuers 42 * the list of certificate issuers, or {@code null} if any issuer 51 Principal[] issuers, SSLEngine engine) { 57 * it with the specified public key type and certificate issuers. 61 * @param issuers 62 * the list of certificate issuers, or {@code null} if any issuer 70 public String chooseEngineServerAlias(String keyType, Principal[] issuers,
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CRLSelectorTest.java | 33 Collection<X500Principal> issuers = crlSelector.getIssuers(); local 35 issuers.clear(); 44 Collection<Object> issuers = crlSelector.getIssuerNames(); local 45 assertEquals(1, issuers.size()); 46 issuers.clear(); 47 assertEquals(0, issuers.size());
|
/libcore/crypto/src/main/java/org/conscrypt/ |
KeyManagerImpl.java | 87 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 88 final String[] al = chooseAlias(keyTypes, issuers); 92 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 93 final String[] al = chooseAlias(new String[] { keyType }, issuers); 115 public String[] getClientAliases(String keyType, Principal[] issuers) { 116 return chooseAlias(new String[] { keyType }, issuers); 119 public String[] getServerAliases(String keyType, Principal[] issuers) { 120 return chooseAlias(new String[] { keyType }, issuers); 134 public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine) { 135 final String[] al = chooseAlias(keyTypes, issuers); [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
X509ExtendedKeyManagerTest.java | 58 public String chooseClientAlias(String[] keyType, Principal[] issuers, 67 public String chooseServerAlias(String keyType, Principal[] issuers, 83 public String[] getClientAliases(String keyType, Principal[] issuers) { 91 public String[] getServerAliases(String keyType, Principal[] issuers) {
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CRLSelectorTest.java | 180 * setIssuers(Collection <X500Principal> issuers) method testing. 181 * Tests if CRLs with any issuers match the selector in the case of 182 * null issuerNames criteria, if specified issuers match the selector, 195 assertTrue("Any CRL issuers should match in the case of null issuers.", 198 ArrayList issuers = new ArrayList(2); local 199 issuers.add(iss1); 200 issuers.add(iss2); 201 selector.setIssuers(issuers); 206 issuers.add(iss3) 239 ArrayList issuers = new ArrayList(2); local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLSelector2Test.java | 62 * specified issuers match the selector, and if not specified issuer does 84 * issuers match the selector, and if not specified issuer does not match 116 * any issuers match the selector in the case of null issuerNames criteria, 117 * if specified issuers match the selector, if not specified issuer does not 141 assertTrue("Any CRL issuers should match in the case of null issuers.", 144 ArrayList issuers = new ArrayList(2); local 145 issuers.add(iss1); 146 issuers.add(iss2); 148 selector.setIssuerNames(issuers); 182 ArrayList<X500Principal> issuers = new ArrayList<X500Principal>(2); local [all...] |
/external/chromium_org/net/cert/ |
x509_certificate_unittest.cc | 710 std::vector<std::string> issuers; local 711 issuers.clear(); 712 issuers.push_back(mit_issuer); 713 EXPECT_TRUE(mit_davidben_cert->IsIssuedByEncoded(issuers)); 714 EXPECT_FALSE(google_cert->IsIssuedByEncoded(issuers)); 718 issuers.clear(); 719 issuers.push_back(thawte_issuer); 720 EXPECT_FALSE(mit_davidben_cert->IsIssuedByEncoded(issuers)); 721 EXPECT_TRUE(google_cert->IsIssuedByEncoded(issuers)); 723 // Check that they both pass when given a list of the two issuers 764 std::vector<std::string> issuers; local [all...] |
x509_certificate_nss.cc | 130 // Convert encoded issuers to scoped CERTName* list. 131 std::vector<CERTName*> issuers; local 135 &issuers)) { 138 return x509_util::IsCertificateIssuedBy(cert_chain, issuers);
|
x509_util_nss.h | 71 const std::vector<std::string>& issuers, 75 // Returns true iff a certificate is issued by any of the issuers listed
|
x509_certificate_ios.cc | 77 std::vector<CERTName*> issuers; local 81 &issuers)) { 85 nss_chain.cert_chain(), issuers);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCertPathBuilderSpi.java | 223 Collection issuers = new HashSet(); local 228 issuers.addAll(CertPathValidatorUtilities.findIssuerCerts(tbvCert, pkixParams)); 236 if (issuers.isEmpty()) 241 Iterator it = issuers.iterator();
|
CertPathValidatorUtilities.java | 836 * Add the CRL issuers from the cRLIssuer field of the distribution point or 846 * @param issuerPrincipals The issuers of the certificate or attribute 861 List issuers = new ArrayList(); local 873 issuers.add(new X500Principal(genNames[j].getName() 899 issuers.add((X500Principal)it.next()); 911 // if (issuers.size() != 1) 917 // Iterator it = issuers.iterator(); 918 // List issuersTemp = new ArrayList(issuers.size()); 1189 Set issuers = new HashSet(); local [all...] |
/external/chromium_org/net/ssl/ |
client_cert_store_win.cc | 73 std::vector<CERT_NAME_BLOB> issuers(auth_count); 75 issuers[i].cbData = static_cast<DWORD>(request.cert_authorities[i].size()); 76 issuers[i].pbData = reinterpret_cast<BYTE*>( 87 reinterpret_cast<CERT_NAME_BLOB*>(issuers.data());
|
client_cert_store_unittest-inl.h | 68 // issuers, rather than no issuers.
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
X509ExtendedKeyManagerTest.java | 132 public String chooseClientAlias(String[] keyType, Principal[] issuers, 141 public String chooseServerAlias(String keyType, Principal[] issuers, 157 public String[] getClientAliases(String keyType, Principal[] issuers) { 165 public String[] getServerAliases(String keyType, Principal[] issuers) {
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
TrustManagerFactoryTest.java | 145 X509Certificate[] issuers = tm.getAcceptedIssuers(); local 146 assertNotNull(issuers); 147 assertTrue(issuers.length > 1); 148 assertNotSame(issuers, tm.getAcceptedIssuers()); 151 = issuers.length > (StandardNames.IS_RI ? 1 : 2) * KEY_TYPES.length;
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainTestActivity.java | 220 Principal[] issuers, 225 keyTypes, issuers, 241 Principal[] issuers, 266 @Override public String[] getClientAliases(String keyType, Principal[] issuers) { 270 @Override public String[] getServerAliases(String keyType, Principal[] issuers) {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
SSLUtils.java | 221 String[] keyTypes, Principal[] issuers, Socket socket); 232 String keyType, Principal[] issuers, Socket socket) { 238 public final String[] getClientAliases(String keyType, Principal[] issuers) { 244 public final String[] getServerAliases(String keyType, Principal[] issuers) { 258 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 355 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) {
|
CertificateRequestor.java | 49 null /* keytypes */, null /* issuers */,
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
ExtendedPKIXParameters.java | 470 * Returns the trusted attribute certificate issuers. If attribute 471 * certificates is verified the trusted AC issuers must be set. 477 * @return Returns an immutable set of the trusted AC issuers. 485 * Sets the trusted attribute certificate issuers. If attribute certificates 486 * is verified the trusted AC issuers must be set. 493 * @param trustedACIssuers The trusted AC issuers to set. Is never
|
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
x_crl.c | 154 if (!crl->issuers) 156 crl->issuers = sk_GENERAL_NAMES_new_null(); 157 if (!crl->issuers) 160 if (!sk_GENERAL_NAMES_push(crl->issuers, gtmp)) 226 crl->issuers = NULL; 303 sk_GENERAL_NAMES_pop_free(crl->issuers, GENERAL_NAMES_free);
|
/external/openssl/crypto/asn1/ |
x_crl.c | 154 if (!crl->issuers) 156 crl->issuers = sk_GENERAL_NAMES_new_null(); 157 if (!crl->issuers) 160 if (!sk_GENERAL_NAMES_push(crl->issuers, gtmp)) 226 crl->issuers = NULL; 303 sk_GENERAL_NAMES_pop_free(crl->issuers, GENERAL_NAMES_free);
|