Home
last modified time | relevance | path

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

12

/external/conscrypt/testing/src/main/java/libcore/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, X509ExtendedTrustManager clientTrustManager, in TestSSLContext()
207 private KeyManager[] additionalClientKeyManagers;
208 private KeyManager[] additionalServerKeyManagers;
241 public Builder additionalClientKeyManagers(KeyManager[] additionalClientKeyManagers) { in additionalClientKeyManagers()
246 public Builder additionalServerKeyManagers(KeyManager[] additionalServerKeyManagers) { in additionalServerKeyManagers()
282 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;
31 static KeyManager getConscryptPSKKeyManager(PSKKeyManagerProxy delegate) { in getConscryptPSKKeyManager()
38 return (KeyManager) Proxy.newProxyInstance( in getConscryptPSKKeyManager()
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSSLContextTest.java43 import javax.net.ssl.KeyManager;
120 sslContext.init(new KeyManager[] {PSKKeyManagerProxy.getConscryptPSKKeyManager( in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly()
133 sslContext.init(new KeyManager[] {PSKKeyManagerProxy.getConscryptPSKKeyManager( in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
147 new KeyManager[] {x509KeyManager, in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
157 sslContext.init(new KeyManager[0], new TrustManager[0], null); in test_SSLContext_emptyConfiguration_defaultProviderOnly()
291 sslContext.init(new KeyManager[0], new TrustManager[0], null); in test_SSLContext_init_Default()
297 sslContext.init(new KeyManager[] {new KeyManager(){}}, in test_SSLContext_init_Default()
340 KeyManager[] keyManagers = new KeyManager[0]; in test_SSLContext_init_withEmptyManagerArrays()
374 KeyManager[] keyManagers = new KeyManager[] {new KeyManager(){}}; in test_SSLContext_init_withoutX509()
436 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;
110 KeyManager pskKeyManager = in test_SSLEngine_getSupportedCipherSuites_connect()
121 .additionalClientKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLEngine_getSupportedCipherSuites_connect()
122 .additionalServerKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLEngine_getSupportedCipherSuites_connect()
134 KeyManager randomPrivateKeyX509ExtendedKeyManager = null; in test_SSLEngine_getSupportedCipherSuites_connect()
135 for (KeyManager keyManager : c.serverKeyManagers) { in test_SSLEngine_getSupportedCipherSuites_connect()
150 KeyManager keyManager = testKeyStore.keyManagers[i]; in test_SSLEngine_getSupportedCipherSuites_connect()
162 KeyManager originalKeyManager = testKeyStore.keyManagers[replaceIndex]; in test_SSLEngine_getSupportedCipherSuites_connect()
DKeyManagerFactoryTest.java36 import javax.net.ssl.KeyManager;
144 KeyManager[] keyManagers = kmf.getKeyManagers(); in test_KeyManagerFactory_getKeyManagers()
147 for (KeyManager keyManager : keyManagers) { in test_KeyManagerFactory_getKeyManagers()
DSSLSocketTest.java94 import javax.net.ssl.KeyManager;
184 KeyManager pskKeyManager = in test_SSLSocket_getSupportedCipherSuites_connect()
205 .additionalClientKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLSocket_getSupportedCipherSuites_connect()
206 .additionalServerKeyManagers(new KeyManager[] {pskKeyManager}) in test_SSLSocket_getSupportedCipherSuites_connect()
876 new KeyManager[] {keyManager}, new TrustManager[] {c.clientTrustManager}, null); in test_SSLSocket_clientAuth_bogusAlias()
959 new KeyManager[] {keyManager}, new TrustManager[] {c.clientTrustManager}, null); in run_SSLSocket_clientAuth_OpaqueKey()
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/
DDummySSLServerSocketFactory.java22 import javax.net.ssl.KeyManager;
35 DummySSLServerSocketFactory(KeyManager[] keyManagers, in DummySSLServerSocketFactory()
42 KeyManager[] keyManagers) throws KeyManagementException, in fromKeyManagers()
DDummySSLSocketFactory.java22 import javax.net.ssl.KeyManager;
35 DummySSLSocketFactory(KeyManager[] keyManagers, in DummySSLSocketFactory()
41 public static DummySSLSocketFactory fromKeyManagers(KeyManager[] keyManagers) in fromKeyManagers()
DSSLServerSocketFactoryWrapper.java25 import javax.net.ssl.KeyManager;
42 public SSLServerSocketFactoryWrapper(KeyManager[] keyManagers, in SSLServerSocketFactoryWrapper()
51 KeyManager[] keyManagers) throws KeyManagementException, in CreateWithDummyTrustManager()
DSSLSocketFactoryWrapper.java26 import javax.net.ssl.KeyManager;
51 public SSLSocketFactoryWrapper(KeyManager[] keyManagers, in SSLSocketFactoryWrapper()
63 KeyManager[] keyManagers) throws KeyManagementException, in CreateWithDummyTrustManager()
DSslUtil.java51 import javax.net.ssl.KeyManager;
297 KeyManager[] keyManagers = SslUtil.generateTestServerKeyManager("SunX509", in generateTestSslContext()
317 public static KeyManager[] getFileBackedKeyManagers( in getFileBackedKeyManagers()
341 public static KeyManager[] generateTestServerKeyManager( in generateTestServerKeyManager()
/external/conscrypt/common/src/main/java/org/conscrypt/
DDefaultSSLContextImpl.java28 import javax.net.ssl.KeyManager;
45 private static KeyManager[] KEY_MANAGERS;
64 KeyManager[] getKeyManagers () throws GeneralSecurityException, IOException { in getKeyManagers()
127 public void engineInit(KeyManager[] kms, TrustManager[] tms, in engineInit()
DSSLParametersImpl.java29 import javax.net.ssl.KeyManager;
116 SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, in SSLParametersImpl()
472 KeyManager[] kms = kmf.getKeyManagers(); in createDefaultX509KeyManager()
493 private static X509KeyManager findFirstX509KeyManager(KeyManager[] kms) { in findFirstX509KeyManager()
494 for (KeyManager km : kms) { in findFirstX509KeyManager()
508 private static PSKKeyManager findFirstPSKKeyManager(KeyManager[] kms) { in findFirstPSKKeyManager()
509 for (KeyManager km : kms) { in findFirstPSKKeyManager()
DKeyManagerFactoryImpl.java29 import javax.net.ssl.KeyManager;
110 protected KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
114 return new KeyManager[] { new KeyManagerImpl(keyStore, pwd) }; in engineGetKeyManagers()
DPSKKeyManager.java21 import javax.net.ssl.KeyManager;
102 public interface PSKKeyManager extends KeyManager {
DOpenSSLContextImpl.java23 import javax.net.ssl.KeyManager;
99 public void engineInit(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) in engineInit()
/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 {
DConscryptSocketTest.java45 import javax.net.ssl.KeyManager;
152 KeyManager[] keyManagers;
256 KeyManager[] kms = kmf.getKeyManagers(); in setCertificates()
/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()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DKeyManager.java35 public class KeyManager class
DTransformerImpl.java240 private KeyManager m_keyManager = new KeyManager();
463 m_keyManager = new KeyManager(); in reset()
2667 public KeyManager getKeyManager() in getKeyManager()
/external/conscrypt/testing/src/main/java/libcore/java/security/
DTestKeyStore.java50 import javax.net.ssl.KeyManager;
167 public final KeyManager[] keyManagers;
180 public static KeyManager[] createKeyManagers(KeyStore keyStore, char[] storePassword) { in createKeyManagers()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java87 import javax.net.ssl.KeyManager;
1705 …public static SSLServerSocketFactory makeSSLSocketFactory(KeyStore loadedKeyStore, KeyManager[] ke… in makeSSLSocketFactory()

12