java.security.spec

Class PSSParameterSpec

public class PSSParameterSpec extends Object implements AlgorithmParameterSpec

An implementation of {@link 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
intgetSaltLength()

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.