Home
last modified time | relevance | path

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

/libcore/support/src/test/java/libcore/javax/net/ssl/
DForwardingX509ExtendedKeyManager.java38 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 …]
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()
87 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
92 dumpIssuers(issuers); in chooseServerAlias()
95 return dumpAlias(keyManager.chooseServerAlias(keyType, issuers, socket)); in chooseServerAlias()
103 private void dumpIssuers(Principal[] issuers) { in dumpIssuers() argument
105 if (issuers == null) { in dumpIssuers()
109 for (Principal issuer : issuers) { in dumpIssuers()
138 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
[all …]
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CRLSelectorTest.java33 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/
DX509KeyManager.java65 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
DX509ExtendedKeyManager.java68 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/
DX509ExtendedKeyManagerTest.java132 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/
DX509CRLSelector2Test.java144 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/ojluni/src/main/java/java/security/cert/
DX509CRLSelector.java121 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()