Java javax.crypto KeyGenerator fields, constructors, methods, implement or subclass

Example usage for Java javax.crypto KeyGenerator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.crypto KeyGenerator.

The text is from its open source code.

Implementation

javax.crypto.KeyGenerator has the following implementations.
Click this link to see all its implementation.

Method

SecretKeygenerateKey()
Generates a secret key.
StringgetAlgorithm()
Returns the algorithm name of this KeyGenerator object.
KeyGeneratorgetInstance(String algorithm)
Returns a KeyGenerator object that generates secret keys for the specified algorithm.
KeyGeneratorgetInstance(String algorithm, String provider)
Returns a KeyGenerator object that generates secret keys for the specified algorithm.
KeyGeneratorgetInstance(String algorithm, Provider provider)
Returns a KeyGenerator object that generates secret keys for the specified algorithm.
voidinit(SecureRandom random)
Initializes this key generator.
voidinit(AlgorithmParameterSpec params)
Initializes this key generator with the specified parameter set.
voidinit(int keysize)
Initializes this key generator for a certain keysize.
voidinit(AlgorithmParameterSpec params, SecureRandom random)
Initializes this key generator with the specified parameter set and a user-provided source of randomness.
voidinit(int keysize, SecureRandom random)
Initializes this key generator for a certain keysize, using a user-provided source of randomness.