java.lang.Object | |
↳ | java.security.AlgorithmParameters |
AlgorithmParameters
is an engine class which provides algorithm
parameters.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of
AlgorithmParameters with the given
arguments. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the name of the algorithm.
| |||||||||||
Returns this
AlgorithmParameters in the specified encoding
format. | |||||||||||
Returns this
AlgorithmParameters in their default encoding
format. | |||||||||||
Returns a new instance of
AlgorithmParameters from the specified
provider for the specified algorithm. | |||||||||||
Returns a new instance of
AlgorithmParameters from the specified
provider for the specified algorithm. | |||||||||||
Returns a new instance of
AlgorithmParameters for the specified
algorithm. | |||||||||||
Returns the
AlgorithmParameterSpec for this AlgorithmParameters . | |||||||||||
Returns the provider associated with this
AlgorithmParameters . | |||||||||||
Initializes this
AlgorithmParameters with the specified AlgorithmParameterSpec . | |||||||||||
Initializes this
AlgorithmParameters with the specified byte[] using the specified decoding format. | |||||||||||
Initializes this
AlgorithmParameters with the specified byte[] using the default decoding format for parameters. | |||||||||||
Returns a string containing a concise, human-readable description of this
AlgorithmParameters . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructs a new instance of AlgorithmParameters
with the given
arguments.
algPramSpi | the concrete implementation. |
---|---|
provider | the security provider. |
algorithm | the name of the algorithm. |
Returns the name of the algorithm.
Returns this AlgorithmParameters
in the specified encoding
format.
format | the name of the encoding format. |
---|
IOException | if this AlgorithmParameters has already been
initialized, or if this parameters could not be encoded.
|
---|
Returns this AlgorithmParameters
in their default encoding
format. The default encoding format is ASN.1.
IOException | if this AlgorithmParameters has already been
initialized, or if this parameters could not be encoded.
|
---|
Returns a new instance of AlgorithmParameters
from the specified
provider for the specified algorithm.
algorithm | the name of the algorithm to use. |
---|---|
provider | name of the provider of the AlgorithmParameters . |
AlgorithmParameters
for the specified
algorithm.NoSuchAlgorithmException | if the specified algorithm is not available. |
---|---|
NoSuchProviderException | if the specified provider is not available. |
IllegalArgumentException | if provider == null || provider.isEmpty() |
NullPointerException | if algorithm is null .
|
Returns a new instance of AlgorithmParameters
from the specified
provider for the specified algorithm.
algorithm | the name of the algorithm to use. |
---|---|
provider | the provider of the AlgorithmParameters . |
AlgorithmParameters
for the specified
algorithm.NoSuchAlgorithmException | if the specified algorithm is not available. |
---|---|
NullPointerException | if algorithm is null . |
IllegalArgumentException | if provider == null
|
Returns a new instance of AlgorithmParameters
for the specified
algorithm.
algorithm | the name of the algorithm to use. |
---|
AlgorithmParameters
for the specified
algorithm.NoSuchAlgorithmException | if the specified algorithm is not available. |
---|---|
NullPointerException | if algorithm is null .
|
Returns the AlgorithmParameterSpec
for this AlgorithmParameters
.
paramSpec | the type of the parameter specification in which this parameters should be converted. |
---|
AlgorithmParameterSpec
for this AlgorithmParameters
.InvalidParameterSpecException | if this AlgorithmParameters has already been
initialized, or if this parameters could not be converted to
the specified class.
|
---|
Returns the provider associated with this AlgorithmParameters
.
AlgorithmParameters
.
Initializes this AlgorithmParameters
with the specified AlgorithmParameterSpec
.
paramSpec | the parameter specification. |
---|
InvalidParameterSpecException | if this AlgorithmParameters has already been
initialized or the given paramSpec is not appropriate
for initializing this AlgorithmParameters .
|
---|
Initializes this AlgorithmParameters
with the specified byte[]
using the specified decoding format.
params | the encoded parameters. |
---|---|
format | the name of the decoding format. |
IOException | if this AlgorithmParameters has already been
initialized, or the parameter could not be encoded.
|
---|
Initializes this AlgorithmParameters
with the specified byte[]
using the default decoding format for parameters. The default
encoding format is ASN.1.
params | the encoded parameters. |
---|
IOException | if this AlgorithmParameters has already been
initialized, or the parameter could not be encoded.
|
---|
Returns a string containing a concise, human-readable description of this
AlgorithmParameters
.
AlgorithmParameters
.