Lines Matching refs:SecretKeyFactory

62  * following standard <code>SecretKeyFactory</code> algorithms:
68 * "{@docRoot}/../technotes/guides/security/StandardNames.html#SecretKeyFactory">
69 * SecretKeyFactory section</a> of the
83 public class SecretKeyFactory {
102 * Creates a SecretKeyFactory object.
108 protected SecretKeyFactory(SecretKeyFactorySpi keyFacSpi,
115 private SecretKeyFactory(String algorithm) throws NoSuchAlgorithmException {
117 List list = GetInstance.getServices("SecretKeyFactory", algorithm);
122 (algorithm + " SecretKeyFactory not available");
127 * Returns a <code>SecretKeyFactory</code> object that converts
132 * A new SecretKeyFactory object encapsulating the
141 * See the SecretKeyFactory section in the <a href=
142 * "{@docRoot}/../technotes/guides/security/StandardNames.html#SecretKeyFactory">
146 * @return the new <code>SecretKeyFactory</code> object.
157 public static final SecretKeyFactory getInstance(String algorithm)
159 return new SecretKeyFactory(algorithm);
163 * Returns a <code>SecretKeyFactory</code> object that converts
166 * <p> A new SecretKeyFactory object encapsulating the
176 * See the SecretKeyFactory section in the <a href=
177 * "{@docRoot}/../technotes/guides/security/StandardNames.html#SecretKeyFactory">
183 * @return the new <code>SecretKeyFactory</code> object.
200 public static final SecretKeyFactory getInstance(String algorithm,
203 Instance instance = JceSecurity.getInstance("SecretKeyFactory",
205 return new SecretKeyFactory((SecretKeyFactorySpi)instance.impl,
210 * Returns a <code>SecretKeyFactory</code> object that converts
213 * <p> A new SecretKeyFactory object encapsulating the
220 * See the SecretKeyFactory section in the <a href=
221 * "{@docRoot}/../technotes/guides/security/StandardNames.html#SecretKeyFactory">
227 * @return the new <code>SecretKeyFactory</code> object.
241 public static final SecretKeyFactory getInstance(String algorithm,
243 Instance instance = JceSecurity.getInstance("SecretKeyFactory",
245 return new SecretKeyFactory((SecretKeyFactorySpi)instance.impl,
250 * Returns the provider of this <code>SecretKeyFactory</code> object.
252 * @return the provider of this <code>SecretKeyFactory</code> object
263 * Returns the algorithm name of this <code>SecretKeyFactory</code> object.
267 * <code>SecretKeyFactory</code> object.
269 * @return the algorithm name of this <code>SecretKeyFactory</code>