java.lang.Object | |
↳ | java.security.AlgorithmParametersSpi |
AlgorithmParametersSpi
is the Service Provider Interface (SPI)
definition for AlgorithmParameters
.
See also:
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the parameters in their default encoding format.
| |||||||||||
Returns the parameters in the specified encoding format.
| |||||||||||
Returns the
AlgorithmParameterSpec for this AlgorithmParametersSpi .
| |||||||||||
Initializes this
AlgorithmParametersSpi with the specified
byte[] using the default decoding format for parameters.
| |||||||||||
Initializes this
AlgorithmParametersSpi with the specified
byte[] using the specified decoding format.
| |||||||||||
Initializes this
AlgorithmParametersSpi with the specified
AlgorithmParameterSpec .
| |||||||||||
Returns a string containing a concise, human-readable description of this
AlgorithmParametersSpi .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns the parameters in their default encoding format. The default encoding format is ASN.1.
Returns | |
---|---|
byte[] |
the encoded parameters. |
Throws | |
---|---|
IOException |
if this AlgorithmParametersSpi has already been
initialized, or if this parameters could not be encoded.
|
Returns the parameters in the specified encoding format.
Parameters | |
---|---|
format |
String :
the name of the encoding format. |
Returns | |
---|---|
byte[] |
the encoded parameters. |
Throws | |
---|---|
IOException |
if this AlgorithmParametersSpi has already been
initialized, or if this parameters could not be encoded.
|
Returns the AlgorithmParameterSpec
for this AlgorithmParametersSpi
.
Parameters | |
---|---|
paramSpec |
Class :
the type of the parameter specification in which this
parameters should be converted. |
Returns | |
---|---|
T |
the AlgorithmParameterSpec for this AlgorithmParametersSpi . |
Throws | |
---|---|
InvalidParameterSpecException |
if this AlgorithmParametersSpi has already been
initialized, or if this parameters could not be converted to
the specified class.
|
Initializes this AlgorithmParametersSpi
with the specified
byte[]
using the default decoding format for parameters. The
default encoding format is ASN.1.
Parameters | |
---|---|
params |
byte :
the encoded parameters. |
Throws | |
---|---|
IOException |
if this AlgorithmParametersSpi has already been
initialized, or the parameter could not be encoded.
|
Initializes this AlgorithmParametersSpi
with the specified
byte[]
using the specified decoding format.
Parameters | |
---|---|
params |
byte :
the encoded parameters. |
format |
String :
the name of the decoding format. |
Throws | |
---|---|
IOException |
if this AlgorithmParametersSpi has already been
initialized, or the parameter could not be encoded.
|
Initializes this AlgorithmParametersSpi
with the specified
AlgorithmParameterSpec
.
Parameters | |
---|---|
paramSpec |
AlgorithmParameterSpec :
the parameter specification. |
Throws | |
---|---|
InvalidParameterSpecException |
if this AlgorithmParametersSpi has already been
initialized or the given paramSpec is not appropriate
for initializing this AlgorithmParametersSpi .
|
Returns a string containing a concise, human-readable description of this
AlgorithmParametersSpi
.
Returns | |
---|---|
String |
a printable representation for this AlgorithmParametersSpi .
|