java.lang.Object | |
↳ | java.security.AlgorithmParameterGenerator |
AlgorithmParameterGenerator
is an engine class which is capable of
generating parameters for the algorithm it was initialized with.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of
AlgorithmParameterGenerator with the
given arguments. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Computes and returns
AlgorithmParameters for this generator's
algorithm. | |||||||||||
Returns the name of the algorithm.
| |||||||||||
Returns a new instance of
AlgorithmParameterGenerator from the
specified provider for the specified algorithm. | |||||||||||
Returns a new instance of
AlgorithmParameterGenerator from the
specified provider for the specified algorithm. | |||||||||||
Returns a new instance of
AlgorithmParameterGenerator for the
specified algorithm. | |||||||||||
Returns the provider associated with this
AlgorithmParameterGenerator . | |||||||||||
Initializes this
AlgorithmParameterGenerator with the given size
and the given SecureRandom . | |||||||||||
Initializes this
AlgorithmParameterGenerator with the given
AlgorithmParameterSpec and the given SecureRandom . | |||||||||||
Initializes this
AlgorithmParameterGenerator with the given AlgorithmParameterSpec . | |||||||||||
Initializes this
AlgorithmParameterGenerator with the given size. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Constructs a new instance of AlgorithmParameterGenerator
with the
given arguments.
paramGenSpi | a concrete implementation, this engine instance delegates to. |
---|---|
provider | the provider. |
algorithm | the name of the algorithm. |
Computes and returns AlgorithmParameters
for this generator's
algorithm.
AlgorithmParameters
for this generator's algorithm.Returns the name of the algorithm.
Returns a new instance of AlgorithmParameterGenerator
from the
specified provider for the specified algorithm.
algorithm | the name of the algorithm to use. |
---|---|
provider | name of the provider of the AlgorithmParameterGenerator . |
AlgorithmParameterGenerator
for the
specified algorithm.NoSuchAlgorithmException | if the specified algorithm is not available. |
---|---|
NoSuchProviderException | if the specified provider is not available. |
NullPointerException | if algorithm is null . |
Returns a new instance of AlgorithmParameterGenerator
from the
specified provider for the specified algorithm.
algorithm | the name of the algorithm to use. |
---|---|
provider | the provider of the AlgorithmParameterGenerator . |
AlgorithmParameterGenerator
for the
specified algorithm.NoSuchAlgorithmException | if the specified algorithm is not available. |
---|---|
NullPointerException | if algorithm is null . |
Returns a new instance of AlgorithmParameterGenerator
for the
specified algorithm.
algorithm | the name of the algorithm to use. |
---|
AlgorithmParameterGenerator
for the
specified algorithm.NoSuchAlgorithmException | if the specified algorithm is not available. |
---|---|
NullPointerException | if algorithm is null . |
Returns the provider associated with this AlgorithmParameterGenerator
.
AlgorithmParameterGenerator
.Initializes this AlgorithmParameterGenerator
with the given size
and the given SecureRandom
. The default parameter set will be
used.
size | the size (in number of bits). |
---|---|
random | the source of randomness. |
Initializes this AlgorithmParameterGenerator
with the given
AlgorithmParameterSpec
and the given SecureRandom
.
genParamSpec | the parameters to use. |
---|---|
random | the source of randomness. |
InvalidAlgorithmParameterException | if the specified parameters are not supported. |
---|
Initializes this AlgorithmParameterGenerator
with the given AlgorithmParameterSpec
. A default SecureRandom
instance will be
used.
genParamSpec | the parameters to use. |
---|
InvalidAlgorithmParameterException | if the specified parameters are not supported. |
---|
Initializes this AlgorithmParameterGenerator
with the given size.
The default parameter set and a default SecureRandom
instance
will be used.
size | the size (in number of bits). |
---|