IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 1.4.2 ]  [ 5.0 ]  [ 6.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM 2 Platform Std. Ed. v1.4.2

java.security.spec
Class PSSParameterSpec

java.lang.Object
  extended byjava.security.spec.PSSParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec

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.

Since:
1.4
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

PSSParameterSpec

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

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

getSaltLength

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

Returns:
the salt length.

Copyright 2003 Sun Microsystems, Inc. All rights reserved