java.security.spec
Class PSSParameterSpec

java.lang.Object
  extended by 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.
 
Method Summary
 int getSaltLength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

getSaltLength

public int getSaltLength()
Returns:
the length (in bits) of the salt.