Home | History | Annotate | Download | only in crypto

Lines Matching refs:algorithm

53     // Store used algorithm name
54 private final String algorithm;
63 * @param algorithm
64 * the algorithm name for the secret key.
67 Provider provider, String algorithm) {
69 this.algorithm = algorithm;
74 * Returns the name of the secret key algorithm.
76 * @return the name of the secret key algorithm.
79 return algorithm;
93 * algorithm.
95 * @param algorithm
96 * the name of the key algorithm.
97 * @return a secret key factory for the specified key algorithm.
99 * if no installed provider can provide the requested algorithm.
101 * if the specified algorithm is {@code null}.
103 public static final SecretKeyFactory getInstance(String algorithm)
105 if (algorithm == null) {
109 engine.getInstance(algorithm, null);
111 engine.provider, algorithm);
117 * algorithm from the specified {@code provider}.
119 * @param algorithm
120 * the name of the key algorithm.
123 * algorithm.
124 * @return a secret key factory for the specified key algorithm from the
128 * algorithm.
134 public static final SecretKeyFactory getInstance(String algorithm,
144 return getInstance(algorithm, impProvider);
149 * algorithm from the specified provider.
151 * @param algorithm
152 * the name of the key algorithm.
154 * the provider that provides the requested algorithm.
155 * @return a secret key factory for the specified key algorithm from the
159 * algorithm.
163 * is the specified algorithm name is {@code null}.
165 public static final SecretKeyFactory getInstance(String algorithm,
170 if (algorithm == null) {
174 engine.getInstance(algorithm, provider, null);
176 algorithm);