public static class AlgorithmParametersSpi.OAEP extends AlgorithmParametersSpi
AlgorithmParametersSpi.OAEP, AlgorithmParametersSpi.PSS| Constructor and Description |
|---|
OAEP() |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineGetEncoded()
Return the PKCS#1 ASN.1 structure RSAES-OAEP-params.
|
protected byte[] |
engineGetEncoded(String format)
Returns the parameters in the specified encoding format.
|
protected void |
engineInit(AlgorithmParameterSpec paramSpec)
Initializes this
AlgorithmParametersSpi with the specified
AlgorithmParameterSpec. |
protected void |
engineInit(byte[] params)
Initializes this
AlgorithmParametersSpi with the specified
byte[] using the default decoding format for parameters. |
protected void |
engineInit(byte[] params,
String format)
Initializes this
AlgorithmParametersSpi with the specified
byte[] using the specified decoding format. |
protected String |
engineToString()
Returns a string containing a concise, human-readable description of this
AlgorithmParametersSpi. |
protected AlgorithmParameterSpec |
localEngineGetParameterSpec(Class paramSpec) |
engineGetParameterSpec, isASN1FormatStringprotected byte[] engineGetEncoded()
engineGetEncoded in class AlgorithmParametersSpiprotected byte[] engineGetEncoded(String format)
AlgorithmParametersSpiengineGetEncoded in class AlgorithmParametersSpiformat - the name of the encoding format.protected AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) throws InvalidParameterSpecException
localEngineGetParameterSpec in class AlgorithmParametersSpiInvalidParameterSpecExceptionprotected void engineInit(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException
AlgorithmParametersSpiAlgorithmParametersSpi with the specified
AlgorithmParameterSpec.engineInit in class AlgorithmParametersSpiparamSpec - the parameter specification.InvalidParameterSpecException - if this AlgorithmParametersSpi has already been
initialized or the given paramSpec is not appropriate
for initializing this AlgorithmParametersSpi.protected void engineInit(byte[] params)
throws IOException
AlgorithmParametersSpiAlgorithmParametersSpi with the specified
byte[] using the default decoding format for parameters. The
default encoding format is ASN.1.engineInit in class AlgorithmParametersSpiparams - the encoded parameters.IOException - if this AlgorithmParametersSpi has already been
initialized, or the parameter could not be encoded.protected void engineInit(byte[] params,
String format)
throws IOException
AlgorithmParametersSpiAlgorithmParametersSpi with the specified
byte[] using the specified decoding format.engineInit in class AlgorithmParametersSpiparams - the encoded parameters.format - the name of the decoding format.IOException - if this AlgorithmParametersSpi has already been
initialized, or the parameter could not be encoded.protected String engineToString()
AlgorithmParametersSpiAlgorithmParametersSpi.engineToString in class AlgorithmParametersSpiAlgorithmParametersSpi.