OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:TrustManagerFactory
(Results
1 - 16
of
16
) sorted by null
/libcore/luni/src/main/java/javax/net/ssl/
TrustManagerFactory.java
33
public class
TrustManagerFactory
{
35
private static final String SERVICE = "
TrustManagerFactory
";
41
private static final String PROPERTY_NAME = "ssl.
TrustManagerFactory
.algorithm";
43
// Default value of
TrustManagerFactory
type.
47
* Returns the default algorithm name for the {@code
TrustManagerFactory
}. The
49
* {@code 'ssl.
TrustManagerFactory
.algorithm'}.
59
* Creates a new {@code
TrustManagerFactory
} instance for the specified
71
public static final
TrustManagerFactory
getInstance(String algorithm)
77
return new
TrustManagerFactory
((TrustManagerFactorySpi) sap.spi, sap.provider, algorithm);
81
* Creates a new {@code
TrustManagerFactory
} instance for the specifie
[
all
...]
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
TrustManagerFactory2Test.java
29
import javax.net.ssl.
TrustManagerFactory
;
36
* Tests for
TrustManagerFactory
class constructors and methods
41
private static final String srvTrustManagerFactory = "
TrustManagerFactory
";
77
private void checkResult(
TrustManagerFactory
tmf) throws Exception {
118
* returns
TrustManagerFactory
object
122
TrustManagerFactory
.getInstance(null);
129
TrustManagerFactory
.getInstance(invalidValues[i]);
135
TrustManagerFactory
tmf;
137
tmf =
TrustManagerFactory
.getInstance(validValues[i]);
138
assertTrue("Not instanceof
TrustManagerFactory
object"
[
all
...]
TrustManagerFactory1Test.java
30
import javax.net.ssl.
TrustManagerFactory
;
38
* Tests for <code>
TrustManagerFactory
</code> class constructors and methods.
44
private static final String srvTrustManagerFactory = "
TrustManagerFactory
";
54
private static final String NotSupportedMsg = "There is no suitable provider for
TrustManagerFactory
";
61
.getProperty("ssl.
TrustManagerFactory
.algorithm");
74
protected
TrustManagerFactory
[] createTMFac() {
79
TrustManagerFactory
[] tMF = new
TrustManagerFactory
[3];
81
tMF[0] =
TrustManagerFactory
.getInstance(defaultAlgorithm);
82
tMF[1] =
TrustManagerFactory
.getInstance(defaultAlgorithm
[
all
...]
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
TrustManagerFactory2Test.java
29
import javax.net.ssl.
TrustManagerFactory
;
36
* Tests for
TrustManagerFactory
class constructors and methods
40
private static final String srvTrustManagerFactory = "
TrustManagerFactory
";
74
private void checkResult(
TrustManagerFactory
tmf) throws Exception {
115
* returns
TrustManagerFactory
object
119
TrustManagerFactory
.getInstance(null);
126
TrustManagerFactory
.getInstance(invalidValues[i]);
132
TrustManagerFactory
tmf;
134
tmf =
TrustManagerFactory
.getInstance(validValues[i]);
135
assertTrue("Not instanceof
TrustManagerFactory
object"
[
all
...]
TrustManagerFactory1Test.java
39
import javax.net.ssl.
TrustManagerFactory
;
47
* Tests for <code>
TrustManagerFactory
</code> class constructors and methods.
52
private static final String srvTrustManagerFactory = "
TrustManagerFactory
";
82
DEFAULT_ALGORITHM = Security.getProperty("ssl.
TrustManagerFactory
.algorithm");
91
private static
TrustManagerFactory
[] createTMFac() throws Exception {
92
return new
TrustManagerFactory
[] {
93
TrustManagerFactory
.getInstance(getDefaultAlgorithm()),
94
TrustManagerFactory
.getInstance(getDefaultAlgorithm(), getDefaultProvider()),
95
TrustManagerFactory
.getInstance(getDefaultAlgorithm(), getDefaultProviderName())
102
TrustManagerFactory
tmF = new myTrustManagerFactory(spi, getDefaultProvider()
[
all
...]
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/16/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/8/
android.jar
/prebuilts/sdk/9/
android.jar
Completed in 43 milliseconds