public class

RSASSAPSSParams

extends AlgorithmParams
java.lang.Object
   ↳ com.pdftron.crypto.AlgorithmParams
     ↳ com.pdftron.crypto.RSASSAPSSParams

Class Overview

Parameters for the RSASSA-PSS algorithm.

Summary

Public Constructors
RSASSAPSSParams()
Initialize RSASSA-PSS parameters with default values specified in RFC 4055.
RSASSAPSSParams(AlgorithmIdentifier digest_algorithm_id, int salt_length)
Initialize RSASSA-PSS parameters with MGF1 for a given digest algorithm and salt length.
Public Methods
AlgorithmIdentifier getDigestAlgorithm()
Get the digest algorithm parameter value.
AlgorithmIdentifier getMaskGenAlgorithm()
Get the mask generation function parameter value.
int getSaltLength()
Get the salt length parameter value.
int getTrailerField()
Get the trailer field parameter value.
void setDigestAlgorithm(AlgorithmIdentifier value)
Set the digest algorithm parameter value.
void setMaskGenAlgorithm(AlgorithmIdentifier value)
Set the mask generation function parameter value.
void setSaltLength(int value)
Set the salt length parameter value.
void setTrailerField(int value)
Set the trailer field parameter value.
[Expand]
Inherited Methods
From class com.pdftron.crypto.AlgorithmParams
From class java.lang.Object
From interface java.lang.AutoCloseable

Public Constructors

public RSASSAPSSParams ()

Initialize RSASSA-PSS parameters with default values specified in RFC 4055.

public RSASSAPSSParams (AlgorithmIdentifier digest_algorithm_id, int salt_length)

Initialize RSASSA-PSS parameters with MGF1 for a given digest algorithm and salt length.

Parameters
digest_algorithm_id The digest algorithm.
salt_length The salt length.

Public Methods

public AlgorithmIdentifier getDigestAlgorithm ()

Get the digest algorithm parameter value.

Returns
  • The digest algorithm.

public AlgorithmIdentifier getMaskGenAlgorithm ()

Get the mask generation function parameter value.

Returns
  • The mask generation function.

public int getSaltLength ()

Get the salt length parameter value.

Returns
  • The salt length.

public int getTrailerField ()

Get the trailer field parameter value.

Returns
  • The trailer field.

public void setDigestAlgorithm (AlgorithmIdentifier value)

Set the digest algorithm parameter value.

Parameters
value The digest algorithm.

public void setMaskGenAlgorithm (AlgorithmIdentifier value)

Set the mask generation function parameter value.

Parameters
value The mask generation function.

public void setSaltLength (int value)

Set the salt length parameter value.

Parameters
value The salt length.

public void setTrailerField (int value)

Set the trailer field parameter value.

Parameters
value The trailer field.