java.security.spec
Class PSSParameterSpec
java.lang.Object
java.security.spec.PSSParameterSpec
- All Implemented Interfaces:
- AlgorithmParameterSpec
public class PSSParameterSpec
- extends Object
- implements AlgorithmParameterSpec
An implementation of AlgorithmParameterSpec
for the RSA PSS encoding
scheme.
- Since:
- 1.4
- See Also:
AlgorithmParameterSpec
,
Signature
Constructor Summary |
PSSParameterSpec(int saltLen)
Construct a new instance of PSSParameterSpec given a salt
length. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PSSParameterSpec
public PSSParameterSpec(int saltLen)
- Construct a new instance of
PSSParameterSpec
given a salt
length.
- Parameters:
saltLen
- the length in bits of the salt.
- Throws:
IllegalArgumentException
- if saltLen
is less than 0
.
getSaltLength
public int getSaltLength()
- Returns:
- the length (in bits) of the salt.