java.security
Class KeyPairGenerator
java.lang.Object
java.security.KeyPairGeneratorSpi
java.security.KeyPairGenerator
public abstract class KeyPairGenerator
- extends KeyPairGeneratorSpi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyPairGenerator
protected KeyPairGenerator(String var0)
genKeyPair
public final KeyPair genKeyPair()
getAlgorithm
public String getAlgorithm()
getInstance
public static KeyPairGenerator getInstance(String var0)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
getInstance
public static KeyPairGenerator getInstance(String var0,
String var1)
throws NoSuchAlgorithmException,
NoSuchProviderException
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
getProvider
public final Provider getProvider()
initialize
public void initialize(int var0)
initialize
public void initialize(int var0,
SecureRandom var1)
- Specified by:
initialize
in class KeyPairGeneratorSpi
initialize
public void initialize(AlgorithmParameterSpec var0)
throws InvalidAlgorithmParameterException
- Throws:
InvalidAlgorithmParameterException
initialize
public void initialize(AlgorithmParameterSpec var0,
SecureRandom var1)
throws InvalidAlgorithmParameterException
- Overrides:
initialize
in class KeyPairGeneratorSpi
- Throws:
InvalidAlgorithmParameterException
generateKeyPair
public KeyPair generateKeyPair()
- Specified by:
generateKeyPair
in class KeyPairGeneratorSpi
Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.