Summary: Ctors | Methods | Inherited Methods | [Expand All]
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
long | __GetHandle()
void | close() Frees the native memory of the object.
void | destroy() Frees the native memory of the object.
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()
From interface java.lang.AutoCloseable
abstract void | close()

## Public Constructors

#### public RSASSAPSSParams ()

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

##### Throws

PDFNetException |

#### 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.

##### Throws

PDFNetException |

## Public Methods

#### public AlgorithmIdentifier getDigestAlgorithm ()

Get the digest algorithm parameter value.

##### Returns

- The digest algorithm.

##### Throws

PDFNetException |

#### public AlgorithmIdentifier getMaskGenAlgorithm ()

Get the mask generation function parameter value.

##### Returns

- The mask generation function.

##### Throws

PDFNetException |

#### public int getSaltLength ()

Get the salt length parameter value.

##### Returns

- The salt length.

##### Throws

PDFNetException |

#### public int getTrailerField ()

Get the trailer field parameter value.

##### Returns

- The trailer field.

##### Throws

PDFNetException |

#### public void setDigestAlgorithm (AlgorithmIdentifier value)

Set the digest algorithm parameter value.

##### Parameters

value | The digest algorithm.

##### Throws

PDFNetException |

#### public void setMaskGenAlgorithm (AlgorithmIdentifier value)

Set the mask generation function parameter value.

##### Parameters

value | The mask generation function.

##### Throws

PDFNetException |

#### public void setSaltLength (int value)

Set the salt length parameter value.

##### Parameters

value | The salt length.

##### Throws

PDFNetException |

#### public void setTrailerField (int value)

Set the trailer field parameter value.

##### Parameters

value | The trailer field.

##### Throws

PDFNetException |