Home
last modified time | relevance | path

Searched refs:KeyManager (Results 1 – 25 of 38) sorted by relevance

12

/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestSSLContext.java38 import javax.net.ssl.KeyManager;
79 public final KeyManager[] clientKeyManagers;
80 public final KeyManager[] serverKeyManagers;
174 KeyStore serverKeyStore, char[] serverStorePassword, KeyManager[] clientKeyManagers, in TestSSLContext()
175 KeyManager[] serverKeyManagers, X509TrustManager clientTrustManager, in TestSSLContext()
212 private KeyManager[] additionalClientKeyManagers;
213 private KeyManager[] additionalServerKeyManagers;
248 public Builder additionalClientKeyManagers(KeyManager[] additionalClientKeyManagers) { in additionalClientKeyManagers()
253 public Builder additionalServerKeyManagers(KeyManager[] additionalServerKeyManagers) { in additionalServerKeyManagers()
299 KeyManager[] clientKeyManagers = client != null ? client.keyManagers : null; in build()
[all …]
DTestKeyManager.java25 import javax.net.ssl.KeyManager;
43 public static KeyManager[] wrap(KeyManager[] keyManagers) { in wrap()
44 KeyManager[] result = keyManagers.clone(); in wrap()
51 public static KeyManager wrap(KeyManager keyManager) { in wrap()
DPSKKeyManagerProxy.java24 import javax.net.ssl.KeyManager;
33 static KeyManager getConscryptPSKKeyManager(PSKKeyManagerProxy delegate) { in getConscryptPSKKeyManager()
40 return (KeyManager) Proxy.newProxyInstance( in getConscryptPSKKeyManager()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestSSLContext.java37 import javax.net.ssl.KeyManager;
77 public final KeyManager[] clientKeyManagers;
78 public final KeyManager[] serverKeyManagers;
172 KeyStore serverKeyStore, char[] serverStorePassword, KeyManager[] clientKeyManagers, in TestSSLContext()
173 KeyManager[] serverKeyManagers, X509TrustManager clientTrustManager, in TestSSLContext()
207 private KeyManager[] additionalClientKeyManagers;
208 private KeyManager[] additionalServerKeyManagers;
243 public Builder additionalClientKeyManagers(KeyManager[] additionalClientKeyManagers) { in additionalClientKeyManagers()
248 public Builder additionalServerKeyManagers(KeyManager[] additionalServerKeyManagers) { in additionalServerKeyManagers()
294 KeyManager[] clientKeyManagers = client != null ? client.keyManagers : null; in build()
[all …]
DTestKeyManager.java24 import javax.net.ssl.KeyManager;
41 public static KeyManager[] wrap(KeyManager[] keyManagers) { in wrap()
42 KeyManager[] result = keyManagers.clone(); in wrap()
49 public static KeyManager wrap(KeyManager keyManager) { in wrap()
DPSKKeyManagerProxy.java23 import javax.net.ssl.KeyManager;
32 static KeyManager getConscryptPSKKeyManager(PSKKeyManagerProxy delegate) { in getConscryptPSKKeyManager()
39 return (KeyManager) Proxy.newProxyInstance( in getConscryptPSKKeyManager()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DSSLContextTest.java48 import javax.net.ssl.KeyManager;
125 sslContext.init(new KeyManager[] { PSKKeyManagerProxy.getConscryptPSKKeyManager( in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly()
139 sslContext.init(new KeyManager[] {PSKKeyManagerProxy.getConscryptPSKKeyManager( in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
156 new KeyManager[] {x509KeyManager, in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
166 sslContext.init(new KeyManager[0], new TrustManager[0], null); in test_SSLContext_emptyConfiguration_defaultProviderOnly()
320 sslContext.init(new KeyManager[0], new TrustManager[0], null); in test_SSLContext_init_Default()
326 sslContext.init(new KeyManager[] {new KeyManager(){}}, in test_SSLContext_init_Default()
371 KeyManager[] keyManagers = new KeyManager[0]; in test_SSLContext_init_withEmptyManagerArrays()
408 KeyManager[] keyManagers = new KeyManager[]{new KeyManager() { in test_SSLContext_init_withoutX509()
473 protected KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
DX509KeyManagerTest.java22 import javax.net.ssl.KeyManager;
67 KeyManager[] managers = kmf.getKeyManagers(); in test_ChooseClientAlias_KeyType()
68 for (KeyManager manager : managers) { in test_ChooseClientAlias_KeyType()
DSSLEngineTest.java40 import javax.net.ssl.KeyManager;
138 KeyManager pskKeyManager = in test_SSLEngine_getSupportedCipherSuites_connect()
151 .additionalClientKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLEngine_getSupportedCipherSuites_connect()
152 .additionalServerKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLEngine_getSupportedCipherSuites_connect()
164 KeyManager randomPrivateKeyX509ExtendedKeyManager = null; in test_SSLEngine_getSupportedCipherSuites_connect()
165 for (KeyManager keyManager : c.serverKeyManagers) { in test_SSLEngine_getSupportedCipherSuites_connect()
180 KeyManager keyManager = testKeyStore.keyManagers[i]; in test_SSLEngine_getSupportedCipherSuites_connect()
192 KeyManager originalKeyManager = testKeyStore.keyManagers[replaceIndex]; in test_SSLEngine_getSupportedCipherSuites_connect()
/external/conscrypt/common/src/main/java/org/conscrypt/
DDefaultSSLContextImpl.java28 import javax.net.ssl.KeyManager;
43 private static KeyManager[] KEY_MANAGERS;
62 KeyManager[] getKeyManagers() throws GeneralSecurityException, IOException { in getKeyManagers()
125 public void engineInit(KeyManager[] kms, TrustManager[] tms, in engineInit()
DKeyManagerFactoryImpl.java29 import javax.net.ssl.KeyManager;
114 protected KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
118 return new KeyManager[] { new KeyManagerImpl(keyStore, pwd) }; in engineGetKeyManagers()
DPSKKeyManager.java21 import javax.net.ssl.KeyManager;
101 public interface PSKKeyManager extends KeyManager {
DSSLParametersImpl.java32 import javax.net.ssl.KeyManager;
122 SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, in SSLParametersImpl()
537 KeyManager[] kms = kmf.getKeyManagers(); in createDefaultX509KeyManager()
558 private static X509KeyManager findFirstX509KeyManager(KeyManager[] kms) { in findFirstX509KeyManager()
559 for (KeyManager km : kms) { in findFirstX509KeyManager()
573 private static PSKKeyManager findFirstPSKKeyManager(KeyManager[] kms) { in findFirstPSKKeyManager()
574 for (KeyManager km : kms) { in findFirstPSKKeyManager()
DOpenSSLContextImpl.java25 import javax.net.ssl.KeyManager;
110 public void engineInit(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) in engineInit()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DDefaultSSLContextImpl.java29 import javax.net.ssl.KeyManager;
44 private static KeyManager[] KEY_MANAGERS;
63 KeyManager[] getKeyManagers() throws GeneralSecurityException, IOException { in getKeyManagers()
126 public void engineInit(KeyManager[] kms, TrustManager[] tms, in engineInit()
DKeyManagerFactoryImpl.java31 import javax.net.ssl.KeyManager;
116 protected KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
120 return new KeyManager[] { new KeyManagerImpl(keyStore, pwd) }; in engineGetKeyManagers()
DPSKKeyManager.java22 import javax.net.ssl.KeyManager;
103 public interface PSKKeyManager extends KeyManager {
DSSLParametersImpl.java33 import javax.net.ssl.KeyManager;
123 SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, in SSLParametersImpl()
541 KeyManager[] kms = kmf.getKeyManagers(); in createDefaultX509KeyManager()
562 private static X509KeyManager findFirstX509KeyManager(KeyManager[] kms) { in findFirstX509KeyManager()
563 for (KeyManager km : kms) { in findFirstX509KeyManager()
577 private static PSKKeyManager findFirstPSKKeyManager(KeyManager[] kms) { in findFirstPSKKeyManager()
578 for (KeyManager km : kms) { in findFirstPSKKeyManager()
DOpenSSLContextImpl.java26 import javax.net.ssl.KeyManager;
116 public void engineInit(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) in engineInit()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLContextTest.java51 import javax.net.ssl.KeyManager;
129 sslContext.init(new KeyManager[] { PSKKeyManagerProxy.getConscryptPSKKeyManager( in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly()
143 sslContext.init(new KeyManager[] {PSKKeyManagerProxy.getConscryptPSKKeyManager( in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
160 new KeyManager[] {x509KeyManager, in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
170 sslContext.init(new KeyManager[0], new TrustManager[0], null); in test_SSLContext_emptyConfiguration_defaultProviderOnly()
324 sslContext.init(new KeyManager[0], new TrustManager[0], null); in test_SSLContext_init_Default()
330 sslContext.init(new KeyManager[] {new KeyManager(){}}, in test_SSLContext_init_Default()
375 KeyManager[] keyManagers = new KeyManager[0]; in test_SSLContext_init_withEmptyManagerArrays()
412 KeyManager[] keyManagers = new KeyManager[]{new KeyManager() { in test_SSLContext_init_withoutX509()
486 protected KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
DX509KeyManagerTest.java23 import javax.net.ssl.KeyManager;
71 KeyManager[] managers = kmf.getKeyManagers(); in test_ChooseClientAlias_KeyType()
72 for (KeyManager manager : managers) { in test_ChooseClientAlias_KeyType()
DSSLEngineTest.java45 import javax.net.ssl.KeyManager;
142 KeyManager pskKeyManager = in test_SSLEngine_getSupportedCipherSuites_connect()
155 .additionalClientKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLEngine_getSupportedCipherSuites_connect()
156 .additionalServerKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLEngine_getSupportedCipherSuites_connect()
168 KeyManager randomPrivateKeyX509ExtendedKeyManager = null; in test_SSLEngine_getSupportedCipherSuites_connect()
169 for (KeyManager keyManager : c.serverKeyManagers) { in test_SSLEngine_getSupportedCipherSuites_connect()
184 KeyManager keyManager = testKeyStore.keyManagers[i]; in test_SSLEngine_getSupportedCipherSuites_connect()
196 KeyManager originalKeyManager = testKeyStore.keyManagers[replaceIndex]; in test_SSLEngine_getSupportedCipherSuites_connect()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DDuckTypedPSKKeyManagerTest.java27 import javax.net.ssl.KeyManager;
179 private static class AlmostPSKKeyManager implements KeyManager {
210 implements KeyManager {
243 implements KeyManager {
278 implements KeyManager {
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DDuckTypedPSKKeyManagerTest.java28 import javax.net.ssl.KeyManager;
183 private static class AlmostPSKKeyManager implements KeyManager {
214 implements KeyManager {
247 implements KeyManager {
282 implements KeyManager {
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DFuncKey.java25 import org.apache.xalan.transformer.KeyManager;
76 KeyManager kmgr = transformer.getKeyManager(); in execute()

12