Home | History | Annotate | Download | only in ssl

Lines Matching refs:algorithm

43     private static final String PROPERTY_NAME = "ssl.KeyManagerFactory.algorithm";
46 * Returns the default key manager factory algorithm name.
48 * The default algorithm name is specified by the security property:
49 * {@code 'ssl.KeyManagerFactory.algorithm'}.
51 * @return the default algorithm name.
63 * management algorithm.
65 * @param algorithm
66 * the name of the requested key management algorithm.
67 * @return a key manager factory for the requested algorithm.
69 * if no installed provider can provide the requested algorithm.
71 * if {@code algorithm} is {@code null} (instead of
74 public static final KeyManagerFactory getInstance(String algorithm)
76 if (algorithm == null) {
77 throw new NullPointerException("algorithm is null");
80 engine.getInstance(algorithm, null);
82 algorithm);
88 * management algorithm from the specified provider.
90 * @param algorithm
91 * the name of the requested key management algorithm name.
94 * algorithm.
95 * @return a key manager factory for the requested algorithm.
98 * algorithm.
102 * if {@code algorithm} is {@code null} (instead of
105 public static final KeyManagerFactory getInstance(String algorithm, String provider)
114 return getInstance(algorithm, impProvider);
119 * management algorithm from the specified provider.
121 * @param algorithm
122 * the name of the requested key management algorithm name.
124 * the provider that provides the requested algorithm.
125 * @return a key manager factory for the requested algorithm.
128 * algorithm.
130 * if {@code algorithm} is {@code null} (instead of
133 public static final KeyManagerFactory getInstance(String algorithm, Provider provider)
138 if (algorithm == null) {
139 throw new NullPointerException("algorithm is null");
142 engine.getInstance(algorithm, provider, null);
143 return new KeyManagerFactory((KeyManagerFactorySpi) engine.spi, provider, algorithm);
153 // Store used algorithm
154 private final String algorithm;
163 * @param algorithm
164 * the key management algorithm name.
166 protected KeyManagerFactory(KeyManagerFactorySpi factorySpi, Provider provider, String algorithm) {
169 this.algorithm = algorithm;
174 * Returns the name of the key management algorithm.
176 * @return the name of the key management algorithm.
179 return algorithm;
202 * if a required algorithm is not available.