Name

PSSParameterSpec

Synopsis

This class represents algorithm parameters used with the RSA PSS encoding scheme, which is defined by version 2.1 of the RSA standard PKCS#1. This class has been substantially enhanced in Java 5.0.

java.security.spec.PSSParameterSpec

Figure 14-98. java.security.spec.PSSParameterSpec

public class PSSParameterSpec implements AlgorithmParameterSpec {
// Public Constructors
     public PSSParameterSpec(int saltLen);  
5.0  public PSSParameterSpec(String mdName, String mgfName, 
        AlgorithmParameterSpec mgfSpec, 
        int saltLen, int trailerField);  
// Public Constants
                  5.0  public static final PSSParameterSpec DEFAULT;  
// Public Instance Methods
                  5.0  public String getDigestAlgorithm( );  
5.0  public String getMGFAlgorithm( );  
5.0  public AlgorithmParameterSpec getMGFParameters( );  
     public int getSaltLength( );  
5.0  public int getTrailerField( );  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.