/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | ForwardingX509ExtendedKeyManager.java | 38 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in chooseClientAlias() argument 39 return delegate.chooseClientAlias(keyType, issuers, socket); in chooseClientAlias() 43 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument 44 return delegate.chooseServerAlias(keyType, issuers, socket); in chooseServerAlias() 53 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument 54 return delegate.getClientAliases(keyType, issuers); in getClientAliases() 58 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument 59 return delegate.getServerAliases(keyType, issuers); in getServerAliases() 63 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument 64 return delegate.chooseEngineClientAlias(keyType, issuers, engine); in chooseEngineClientAlias() [all …]
|
D | TestKeyManager.java | 63 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias() argument 70 dumpIssuers(issuers); in chooseClientAlias() 73 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() 139 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument [all …]
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CRLSelectorTest.java | 33 Collection<X500Principal> issuers = crlSelector.getIssuers(); in testGetIssuersImmutable() local 35 issuers.clear(); in testGetIssuersImmutable() 44 Collection<Object> issuers = crlSelector.getIssuerNames(); in testGetIssuersNamesCopy() local 45 assertEquals(1, issuers.size()); in testGetIssuersNamesCopy() 46 issuers.clear(); in testGetIssuersNamesCopy() 47 assertEquals(0, issuers.size()); in testGetIssuersNamesCopy()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | X509KeyManager.java | 65 public String[] getClientAliases(String keyType, Principal[] issuers); in getClientAliases() argument 83 public String chooseClientAlias(String[] keyType, Principal[] issuers, in chooseClientAlias() argument 97 public String[] getServerAliases(String keyType, Principal[] issuers); in getServerAliases() argument 114 public String chooseServerAlias(String keyType, Principal[] issuers, in chooseServerAlias() argument
|
D | X509ExtendedKeyManager.java | 68 Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument 91 Principal[] issuers, SSLEngine engine) { in chooseEngineServerAlias() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509ExtendedKeyManagerTest.java | 132 public String chooseClientAlias(String[] keyType, Principal[] issuers, in chooseClientAlias() argument 141 public String chooseServerAlias(String keyType, Principal[] issuers, in chooseServerAlias() argument 157 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument 165 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CRLSelector2Test.java | 144 ArrayList issuers = new ArrayList(2); in testSetIssuerNamesLjava_util_Collection02() local 145 issuers.add(iss1); in testSetIssuerNamesLjava_util_Collection02() 146 issuers.add(iss2); in testSetIssuerNamesLjava_util_Collection02() 148 selector.setIssuerNames(issuers); in testSetIssuerNamesLjava_util_Collection02() 158 issuers.add(iss3); in testSetIssuerNamesLjava_util_Collection02() 182 ArrayList<X500Principal> issuers = new ArrayList<X500Principal>(2); in testSetIssuersLjava_util_Collection() local 183 issuers.add(iss1); in testSetIssuersLjava_util_Collection() 184 issuers.add(iss2); in testSetIssuersLjava_util_Collection() 185 selector.setIssuers(issuers); in testSetIssuersLjava_util_Collection() 191 issuers.add(iss3); in testSetIssuersLjava_util_Collection()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | TrustManagerFactoryTest.java | 145 X509Certificate[] issuers = tm.getAcceptedIssuers(); in test_X509TrustManager() local 146 assertNotNull(issuers); in test_X509TrustManager() 147 assertTrue(issuers.length > 1); in test_X509TrustManager() 148 assertNotSame(issuers, tm.getAcceptedIssuers()); in test_X509TrustManager() 151 = issuers.length > (StandardNames.IS_RI ? 1 : 2) * KEY_TYPES.length; in test_X509TrustManager()
|
D | SSLSocketTest.java | 932 Principal[] issuers, in test_SSLSocket_clientAuth_bogusAlias() 937 Principal[] issuers, in test_SSLSocket_clientAuth_bogusAlias() 945 @Override public String[] getClientAliases(String keyType, Principal[] issuers) { in test_SSLSocket_clientAuth_bogusAlias() 948 @Override public String[] getServerAliases(String keyType, Principal[] issuers) { in test_SSLSocket_clientAuth_bogusAlias() 1010 public String chooseClientAlias(String[] keyType, Principal[] issuers, in run_SSLSocket_clientAuth_OpaqueKey() 1012 return delegateKeyManager.chooseClientAlias(keyType, issuers, socket); in run_SSLSocket_clientAuth_OpaqueKey() 1016 public String chooseServerAlias(String keyType, Principal[] issuers, in run_SSLSocket_clientAuth_OpaqueKey() 1018 return delegateKeyManager.chooseServerAlias(keyType, issuers, socket); in run_SSLSocket_clientAuth_OpaqueKey() 1027 public String[] getClientAliases(String keyType, Principal[] issuers) { in run_SSLSocket_clientAuth_OpaqueKey() 1028 return delegateKeyManager.getClientAliases(keyType, issuers); in run_SSLSocket_clientAuth_OpaqueKey() [all …]
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | X509CRLSelector.java | 121 public void setIssuers(Collection<X500Principal> issuers) { in setIssuers() argument 122 if ((issuers == null) || issuers.isEmpty()) { in setIssuers() 127 issuerX500Principals = new HashSet<X500Principal>(issuers); in setIssuers()
|