| java.lang.Object | ||
| ↳ | com.pdftron.crypto.AlgorithmParams | |
| ↳ | com.pdftron.crypto.RSASSAPSSParams | |
Parameters for the RSASSA-PSS algorithm.
| 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
| |||||||||||
Initialize RSASSA-PSS parameters with default values specified in RFC 4055.
| PDFNetException |
|---|
Initialize RSASSA-PSS parameters with MGF1 for a given digest algorithm and salt length.
| digest_algorithm_id | The digest algorithm. |
|---|---|
| salt_length | The salt length. |
| PDFNetException |
|---|
Get the mask generation function parameter value.
| PDFNetException |
|---|
Set the digest algorithm parameter value.
| value | The digest algorithm. |
|---|
| PDFNetException |
|---|
Set the mask generation function parameter value.
| value | The mask generation function. |
|---|
| PDFNetException |
|---|