Home | History | Annotate | Download | only in ssl

Lines Matching refs:algorithm

43     private static final String PROPERTYNAME = "ssl.TrustManagerFactory.algorithm";
46 * Returns the default algorithm name for the {@code TrustManagerFactory}. The
47 * default algorithm name is specified by the security property
48 * {@code 'ssl.TrustManagerFactory.algorithm'}.
50 * @return the default algorithm name.
62 * trust management algorithm.
64 * @param algorithm
65 * the name of the requested trust management algorithm.
66 * @return a trust manager factory for the requested algorithm.
68 * if no installed provider can provide the requested algorithm.
70 * if {@code algorithm} is {@code null} (instead of
73 public static final TrustManagerFactory getInstance(String algorithm)
75 if (algorithm == null) {
76 throw new NullPointerException("algorithm is null");
79 engine.getInstance(algorithm, null);
81 algorithm);
87 * trust management algorithm from the specified provider.
89 * @param algorithm
90 * the name of the requested trust management algorithm name.
93 * algorithm.
94 * @return a trust manager factory for the requested algorithm.
97 * algorithm.
101 * if {@code algorithm} is {@code null} (instead of
104 public static final TrustManagerFactory getInstance(String algorithm, String provider)
113 return getInstance(algorithm, impProvider);
118 * trust management algorithm from the specified provider.
120 * @param algorithm
121 * the name of the requested key management algorithm name.
123 * the provider that provides the requested algorithm.
124 * @return a key manager factory for the requested algorithm.
127 * algorithm.
129 * if {@code algorithm} is {@code null} (instead of
132 public static final TrustManagerFactory getInstance(String algorithm, Provider provider)
137 if (algorithm == null) {
138 throw new NullPointerException("algorithm is null");
141 engine.getInstance(algorithm, provider, null);
142 return new TrustManagerFactory((TrustManagerFactorySpi) engine.spi, provider, algorithm);
152 // Store used algorithm
153 private final String algorithm;
162 * @param algorithm
163 * the algorithm name.
166 String algorithm) {
168 this.algorithm = algorithm;
173 * Returns the name of this {@code TrustManagerFactory} algorithm
176 * @return the name of this {@code TrustManagerFactory} algorithm
180 return algorithm;