Home
last modified time | relevance | path

Searched refs:KeyManagerFactory (Results 1 – 16 of 16) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DKeyManagerFactory1Test.java34 import javax.net.ssl.KeyManagerFactory;
78 protected KeyManagerFactory[] createKMFac() { in createKMFac()
83 KeyManagerFactory[] kMF = new KeyManagerFactory[3]; in createKMFac()
85 kMF[0] = KeyManagerFactory.getInstance(defaultAlgorithm); in createKMFac()
86 kMF[1] = KeyManagerFactory.getInstance(defaultAlgorithm, in createKMFac()
88 kMF[2] = KeyManagerFactory.getInstance(defaultAlgorithm, in createKMFac()
105 KeyManagerFactory in test_getAlgorithm()
109 KeyManagerFactory in test_getAlgorithm()
114 KeyManagerFactory.getInstance(defaultAlgorithm, defaultProvider) in test_getAlgorithm()
127 String def = KeyManagerFactory.getDefaultAlgorithm(); in test_getDefaultAlgorithm()
[all …]
DKeyManagerFactory2Test.java29 import javax.net.ssl.KeyManagerFactory;
77 private void checkResult(KeyManagerFactory keyMF) in checkResult()
129 KeyManagerFactory.getInstance(null); in test_getInstanceLjava_lang_String()
136 KeyManagerFactory.getInstance(invalidValues[i]); in test_getInstanceLjava_lang_String()
142 KeyManagerFactory keyMF; in test_getInstanceLjava_lang_String()
144 keyMF = KeyManagerFactory.getInstance(validValues[i]); in test_getInstanceLjava_lang_String()
166 KeyManagerFactory.getInstance(null, mProv.getName()); in test_getInstanceLjava_lang_StringLjava_lang_String()
173 KeyManagerFactory in test_getInstanceLjava_lang_StringLjava_lang_String()
183 KeyManagerFactory.getInstance(validValues[i], prov); in test_getInstanceLjava_lang_StringLjava_lang_String()
189 KeyManagerFactory.getInstance(validValues[i], ""); in test_getInstanceLjava_lang_StringLjava_lang_String()
[all …]
DSSLContext1Test.java31 import javax.net.ssl.KeyManagerFactory;
449 String kAlg = KeyManagerFactory.getDefaultAlgorithm(); in test_getServerSessionContext()
454 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kAlg); in test_getServerSessionContext()
484 String kAlg = KeyManagerFactory.getDefaultAlgorithm(); in test_getServerSocketFactory()
493 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kAlg); in test_getServerSocketFactory()
524 String kAlg = KeyManagerFactory.getDefaultAlgorithm(); in test_getSocketFactory()
529 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kAlg); in test_getSocketFactory()
573 String kAlg = KeyManagerFactory.getDefaultAlgorithm(); in test_init$Ljavax_net_ssl_KeyManager$Ljavax_net_ssl_TrustManagerLjava_security_SecureRandom()
578 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kAlg); in test_init$Ljavax_net_ssl_KeyManager$Ljavax_net_ssl_TrustManagerLjava_security_SecureRandom()
DX509KeyManagerTest.java12 import javax.net.ssl.KeyManagerFactory;
22 private KeyManagerFactory factory;
615 String defAlg = KeyManagerFactory.getDefaultAlgorithm(); in setUp()
617 factory = KeyManagerFactory.getInstance(defAlg); in setUp()
DSSLContextSpiTest.java24 import javax.net.ssl.KeyManagerFactory;
259 KeyManagerFactory kmf = KeyManagerFactory in getKeyManagers()
260 .getInstance(KeyManagerFactory.getDefaultAlgorithm()); in getKeyManagers()
DSSLServerSocketTest.java33 import javax.net.ssl.KeyManagerFactory;
404 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); in getKeyManagers()
405 KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(algorithm); in getKeyManagers()
DHandshakeCompletedEventTest.java32 import javax.net.ssl.KeyManagerFactory;
544 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); in getKeyManagers()
545 KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(algorithm); in getKeyManagers()
DSSLSocketTest.java33 import javax.net.ssl.KeyManagerFactory;
609 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); in getKeyManagers()
610 KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(algorithm); in getKeyManagers()
DSSLSessionTest.java33 import javax.net.ssl.KeyManagerFactory;
623 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); in getKeyManagers()
624 KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(algorithm); in getKeyManagers()
/libcore/ojluni/src/main/java/javax/net/ssl/
DKeyManagerFactory.java58 public class KeyManagerFactory { class
102 protected KeyManagerFactory(KeyManagerFactorySpi factorySpi, in KeyManagerFactory() method in KeyManagerFactory
150 public static final KeyManagerFactory getInstance(String algorithm) in getInstance()
155 return new KeyManagerFactory((KeyManagerFactorySpi)instance.impl, in getInstance()
193 public static final KeyManagerFactory getInstance(String algorithm, in getInstance()
199 return new KeyManagerFactory((KeyManagerFactorySpi)instance.impl, in getInstance()
231 public static final KeyManagerFactory getInstance(String algorithm, in getInstance()
236 return new KeyManagerFactory((KeyManagerFactorySpi)instance.impl, in getInstance()
/libcore/luni/src/main/java/java/security/
Dsecurity.properties53 # Default KeyManagerFactory and TrustManagerFactory algorithms.
55 # javax/net/ssl/KeyManagerFactory.html#getDefaultAlgorithm()
57 ssl.KeyManagerFactory.algorithm=PKIX
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java51 import javax.net.ssl.KeyManagerFactory;
737 String kmfAlgorithm = KeyManagerFactory.getDefaultAlgorithm(); in getContext()
738 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kmfAlgorithm); in getContext()
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java51 import javax.net.ssl.KeyManagerFactory;
179 String kmfa = KeyManagerFactory.getDefaultAlgorithm(); in createKeyManagers()
180 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kmfa); in createKeyManagers()
/libcore/
Dopenjdk_java_files.bp1335 "ojluni/src/main/java/javax/net/ssl/KeyManagerFactory.java",
DEXPECTED_UPSTREAM1333 …/src/main/java/javax/net/ssl/KeyManagerFactory.java,jdk8u/jdk8u121-b13,jdk/src/share/classes/javax…
/libcore/api/
Dcurrent.txt19424 public class KeyManagerFactory {
19425 …ctor protected KeyManagerFactory(javax.net.ssl.KeyManagerFactorySpi, java.security.Provider, Strin…
19428 …method public static final javax.net.ssl.KeyManagerFactory getInstance(String) throws java.securit…
19429 …method public static final javax.net.ssl.KeyManagerFactory getInstance(String, String) throws java…
19430 …method public static final javax.net.ssl.KeyManagerFactory getInstance(String, java.security.Provi…