Lines Matching defs:KeyPairGenerator

38  * The KeyPairGenerator class is used to generate pairs of
59 * method in this KeyPairGenerator class that takes these two universally
95 * <p>In case the client does not explicitly initialize the KeyPairGenerator
104 * this <code>KeyPairGenerator</code> class; all the methods in
109 * following standard <code>KeyPairGenerator</code> algorithms and keysizes in
117 * "{@docRoot}/../technotes/guides/security/StandardNames.html#KeyPairGenerator">
118 * KeyPairGenerator section</a> of the
128 public abstract class KeyPairGenerator extends KeyPairGeneratorSpi {
136 * Creates a KeyPairGenerator object for the specified algorithm.
139 * See the KeyPairGenerator section in the <a href=
140 * "{@docRoot}/../technotes/guides/security/StandardNames.html#KeyPairGenerator">
144 protected KeyPairGenerator(String algorithm) {
150 * See the KeyPairGenerator section in the <a href=
151 * "{@docRoot}/../technotes/guides/security/StandardNames.html#KeyPairGenerator">
161 private static KeyPairGenerator getInstance(Instance instance,
163 KeyPairGenerator kpg;
164 if (instance.impl instanceof KeyPairGenerator) {
165 kpg = (KeyPairGenerator)instance.impl;
175 * Returns a KeyPairGenerator object that generates public/private
180 * A new KeyPairGenerator object encapsulating the
188 * See the KeyPairGenerator section in the <a href=
189 * "{@docRoot}/../technotes/guides/security/StandardNames.html#KeyPairGenerator">
193 * @return the new KeyPairGenerator object.
201 public static KeyPairGenerator getInstance(String algorithm)
204 GetInstance.getServices("KeyPairGenerator", algorithm);
208 (algorithm + " KeyPairGenerator not available");
210 // find a working Spi or KeyPairGenerator subclass
217 if (instance.impl instanceof KeyPairGenerator) {
232 * Returns a KeyPairGenerator object that generates public/private
235 * <p> A new KeyPairGenerator object encapsulating the
244 * See the KeyPairGenerator section in the <a href=
245 * "{@docRoot}/../technotes/guides/security/StandardNames.html#KeyPairGenerator">
251 * @return the new KeyPairGenerator object.
265 public static KeyPairGenerator getInstance(String algorithm,
268 Instance instance = GetInstance.getInstance("KeyPairGenerator",
274 * Returns a KeyPairGenerator object that generates public/private
277 * <p> A new KeyPairGenerator object encapsulating the
283 * See the KeyPairGenerator section in the <a href=
284 * "{@docRoot}/../technotes/guides/security/StandardNames.html#KeyPairGenerator">
290 * @return the new KeyPairGenerator object.
302 public static KeyPairGenerator getInstance(String algorithm,
304 Instance instance = GetInstance.getInstance("KeyPairGenerator",
337 * supported by this KeyPairGenerator object.
353 * supported by this KeyPairGenerator object.
360 // instance of KeyPairGenerator which has its own
432 // instance of KeyPairGenerator which has its own
445 * <p>If this KeyPairGenerator has not been initialized explicitly,
465 * <p>If this KeyPairGenerator has not been initialized explicitly,
480 // instance of KeyPairGenerator which has its own implementation
496 * rather than from KeyPairGenerator. It represents a KeyPairGenerator
503 * Note: All SPI methods from the original KeyPairGenerator class have been
505 * been interposed in the hierarchy between the API (KeyPairGenerator)
525 // . a provider extends KeyPairGenerator rather than
530 private static final class Delegate extends KeyPairGenerator {
588 if (inst instanceof KeyPairGenerator) {
599 ("KeyPairGenerator initType: " + initType);