Lines Matching refs:algorithm

48     // Store used algorithm name
49 private final String algorithm;
58 * @param algorithm
59 * the name of the algorithm.
62 String algorithm) {
64 this.algorithm = algorithm;
69 * Returns the name of the key generation algorithm.
71 * @return the name of the key generation algorithm.
74 return algorithm;
88 * key algorithm,
90 * @param algorithm
91 * the name of the requested key algorithm
94 * if the specified algorithm is not available by any provider.
96 * if {@code algorithm} is {@code null}.
98 public static final KeyGenerator getInstance(String algorithm)
100 if (algorithm == null) {
101 throw new NullPointerException("algorithm == null");
103 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null);
104 return new KeyGenerator((KeyGeneratorSpi) sap.spi, sap.provider, algorithm);
109 * key algorithm from the specified provider.
111 * @param algorithm
112 * the name of the requested key algorithm.
114 * the name of the provider that is providing the algorithm.
117 * if the specified algorithm is not provided by the specified
124 * if the specified algorithm name is {@code null}.
126 public static final KeyGenerator getInstance(String algorithm,
135 return getInstance(algorithm, impProvider);
140 * key algorithm from the specified provider.
142 * @param algorithm
143 * the name of the requested key algorithm.
145 * the provider that is providing the algorithm
148 * if the specified algorithm is not provided by the specified
153 * if the specified algorithm name is {@code null}.
155 public static final KeyGenerator getInstance(String algorithm,
160 if (algorithm == null) {
161 throw new NullPointerException("algorithm == null");
163 Object spi = ENGINE.getInstance(algorithm, provider, null);
164 return new KeyGenerator((KeyGeneratorSpi) spi, provider, algorithm);
178 * algorithm parameters.
181 * the parameters for the key generation algorithm.
184 * generator algorithm.
193 * algorithm parameters and randomness source.
196 * the parameters for the key generation algorithm.
201 * generator algorithm.