KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > security > KeyPairGenerator

java.security
Class KeyPairGenerator

java.lang.Object
  extended by java.security.KeyPairGeneratorSpi
      extended by java.security.KeyPairGenerator
See Also:
Top Examples, Source Code, initialize, initialize, AlgorithmParameterSpec

public KeyPair generateKeyPair()
See Also:
KeyPairGeneratorSpi, genKeyPair
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final KeyPair genKeyPair()
See Also:
generateKeyPair
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getAlgorithm()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static KeyPairGenerator getInstance(String algorithm)
                                    throws NoSuchAlgorithmException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static KeyPairGenerator getInstance(String algorithm,
                                           String provider)
                                    throws NoSuchAlgorithmException,
                                           NoSuchProviderException
See Also:
Provider, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static KeyPairGenerator getInstance(String algorithm,
                                           Provider provider)
                                    throws NoSuchAlgorithmException
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Provider getProvider()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void initialize(int keysize)
See Also:
InvalidParameterException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void initialize(int keysize,
                       SecureRandom random)
See Also:
InvalidParameterException, KeyPairGeneratorSpi
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void initialize(AlgorithmParameterSpec params)
                throws InvalidAlgorithmParameterException
See Also:
initialize
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void initialize(AlgorithmParameterSpec params,
                       SecureRandom random)
                throws InvalidAlgorithmParameterException
See Also:
KeyPairGeneratorSpi
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected KeyPairGenerator(String algorithm)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags