JavaTM 2 Platform
Std. Ed. v1.4.2
Class PSSParameterSpec

All Implemented Interfaces:

public class PSSParameterSpec
extends Object
implements AlgorithmParameterSpec

This class specifies a parameter spec for RSA PSS encoding scheme, as defined in the PKCS#1 v2.1.

See Also:
AlgorithmParameterSpec, Signature

Constructor Summary
PSSParameterSpec(int saltLen)
          Creates a new PSSParameterSpec given the salt length as defined in PKCS#1.
Method Summary
 int getSaltLength()
          Returns the salt length in bits.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public PSSParameterSpec(int saltLen)
Creates a new PSSParameterSpec given the salt length as defined in PKCS#1.

saltLen - the length of salt in bits to be used in PKCS#1 PSS encoding.
IllegalArgumentException - if saltLen is less than 0.
Method Detail


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

the salt length.

JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy. - all specs in one place

free hit counter