Java java.security KeyPairGenerator fields, constructors, methods, implement or subclass

Example usage for Java java.security KeyPairGenerator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.security KeyPairGenerator.

The text is from its open source code.

Method

KeyPairgenerateKeyPair()
Generates a key pair.
KeyPairgenKeyPair()
Generates a key pair.
StringgetAlgorithm()
Returns the standard name of the algorithm for this key pair generator.
KeyPairGeneratorgetInstance(String algorithm)
Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
KeyPairGeneratorgetInstance(Instance instance, String algorithm)
KeyPairGeneratorgetInstance(String algorithm, String provider)
Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
KeyPairGeneratorgetInstance(String algorithm, Provider provider)
Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
voidinitialize(int keysize, SecureRandom random)
Initializes the key pair generator for a certain keysize with the given source of randomness (and a default parameter set).
voidinitialize(AlgorithmParameterSpec params, SecureRandom random)
Initializes the key pair generator with the given parameter set and source of randomness.
voidinitialize(int keysize)
Initializes the key pair generator for a certain keysize using a default parameter set and the SecureRandom implementation of the highest-priority installed provider as the source of randomness.
voidinitialize(AlgorithmParameterSpec params)
Initializes the key pair generator using the specified parameter set and the SecureRandom implementation of the highest-priority installed provider as the source of randomness.