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/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLContextTest.java46 import javax.net.ssl.KeyManager;
123 sslContext.init(new KeyManager[] { PSKKeyManagerProxy.getConscryptPSKKeyManager( in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly()
137 sslContext.init(new KeyManager[] {PSKKeyManagerProxy.getConscryptPSKKeyManager( in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
154 new KeyManager[] {x509KeyManager, in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
164 sslContext.init(new KeyManager[0], new TrustManager[0], null); in test_SSLContext_emptyConfiguration_defaultProviderOnly()
318 sslContext.init(new KeyManager[0], new TrustManager[0], null); in test_SSLContext_init_Default()
324 sslContext.init(new KeyManager[] {new KeyManager(){}}, in test_SSLContext_init_Default()
369 KeyManager[] keyManagers = new KeyManager[0]; in test_SSLContext_init_withEmptyManagerArrays()
406 KeyManager[] keyManagers = new KeyManager[]{new KeyManager() { in test_SSLContext_init_withoutX509()
471 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.java36 import javax.net.ssl.KeyManager;
133 KeyManager pskKeyManager = in test_SSLEngine_getSupportedCipherSuites_connect()
146 .additionalClientKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLEngine_getSupportedCipherSuites_connect()
147 .additionalServerKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLEngine_getSupportedCipherSuites_connect()
159 KeyManager randomPrivateKeyX509ExtendedKeyManager = null; in test_SSLEngine_getSupportedCipherSuites_connect()
160 for (KeyManager keyManager : c.serverKeyManagers) { in test_SSLEngine_getSupportedCipherSuites_connect()
175 KeyManager keyManager = testKeyStore.keyManagers[i]; in test_SSLEngine_getSupportedCipherSuites_connect()
187 KeyManager originalKeyManager = testKeyStore.keyManagers[replaceIndex]; in test_SSLEngine_getSupportedCipherSuites_connect()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLContextTest.java47 import javax.net.ssl.KeyManager;
127 sslContext.init(new KeyManager[] { PSKKeyManagerProxy.getConscryptPSKKeyManager( in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly()
141 sslContext.init(new KeyManager[] {PSKKeyManagerProxy.getConscryptPSKKeyManager( in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
158 new KeyManager[] {x509KeyManager, in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
168 sslContext.init(new KeyManager[0], new TrustManager[0], null); in test_SSLContext_emptyConfiguration_defaultProviderOnly()
321 sslContext.init(new KeyManager[0], new TrustManager[0], null); in test_SSLContext_init_Default()
327 sslContext.init(new KeyManager[] {new KeyManager(){}}, in test_SSLContext_init_Default()
372 KeyManager[] keyManagers = new KeyManager[0]; in test_SSLContext_init_withEmptyManagerArrays()
409 KeyManager[] keyManagers = new KeyManager[]{new KeyManager() { in test_SSLContext_init_withoutX509()
483 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.java37 import javax.net.ssl.KeyManager;
137 KeyManager pskKeyManager = in test_SSLEngine_getSupportedCipherSuites_connect()
150 .additionalClientKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLEngine_getSupportedCipherSuites_connect()
151 .additionalServerKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLEngine_getSupportedCipherSuites_connect()
163 KeyManager randomPrivateKeyX509ExtendedKeyManager = null; in test_SSLEngine_getSupportedCipherSuites_connect()
164 for (KeyManager keyManager : c.serverKeyManagers) { in test_SSLEngine_getSupportedCipherSuites_connect()
179 KeyManager keyManager = testKeyStore.keyManagers[i]; in test_SSLEngine_getSupportedCipherSuites_connect()
191 KeyManager originalKeyManager = testKeyStore.keyManagers[replaceIndex]; in test_SSLEngine_getSupportedCipherSuites_connect()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DDefaultSSLContextImpl.java29 import javax.net.ssl.KeyManager;
46 private static KeyManager[] KEY_MANAGERS;
66 KeyManager[] getKeyManagers () throws GeneralSecurityException, IOException { in getKeyManagers()
129 public void engineInit(KeyManager[] kms, TrustManager[] tms, in engineInit()
DKeyManagerFactoryImpl.java30 import javax.net.ssl.KeyManager;
111 protected KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
115 return new KeyManager[] { new KeyManagerImpl(keyStore, pwd) }; in engineGetKeyManagers()
DSSLParametersImpl.java31 import javax.net.ssl.KeyManager;
119 SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, in SSLParametersImpl()
529 KeyManager[] kms = kmf.getKeyManagers(); in createDefaultX509KeyManager()
550 private static X509KeyManager findFirstX509KeyManager(KeyManager[] kms) { in findFirstX509KeyManager()
551 for (KeyManager km : kms) { in findFirstX509KeyManager()
565 private static PSKKeyManager findFirstPSKKeyManager(KeyManager[] kms) { in findFirstPSKKeyManager()
566 for (KeyManager km : kms) { in findFirstPSKKeyManager()
DPSKKeyManager.java22 import javax.net.ssl.KeyManager;
103 public interface PSKKeyManager extends KeyManager {
DOpenSSLContextImpl.java26 import javax.net.ssl.KeyManager;
109 public void engineInit(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) in engineInit()
/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;
109 protected KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
113 return new KeyManager[] { new KeyManagerImpl(keyStore, pwd) }; in engineGetKeyManagers()
DSSLParametersImpl.java30 import javax.net.ssl.KeyManager;
117 SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, in SSLParametersImpl()
524 KeyManager[] kms = kmf.getKeyManagers(); in createDefaultX509KeyManager()
545 private static X509KeyManager findFirstX509KeyManager(KeyManager[] kms) { in findFirstX509KeyManager()
546 for (KeyManager km : kms) { in findFirstX509KeyManager()
560 private static PSKKeyManager findFirstPSKKeyManager(KeyManager[] kms) { in findFirstPSKKeyManager()
561 for (KeyManager km : kms) { in findFirstPSKKeyManager()
DPSKKeyManager.java21 import javax.net.ssl.KeyManager;
101 public interface PSKKeyManager extends KeyManager {
DOpenSSLContextImpl.java25 import javax.net.ssl.KeyManager;
102 public void engineInit(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) in engineInit()
/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/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/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