Class RSASSAPSSParams
Parameters for the RSASSA-PSS algorithm.
Implements
Inherited Members
Namespace: pdftron.Crypto
Assembly: PDFNet.dll
Syntax
public class RSASSAPSSParams : AlgorithmParams, IDisposable
Constructors
RSASSAPSSParams()
Initialize RSASSA-PSS parameters with default values specified in RFC 4055.
Declaration
public RSASSAPSSParams()
RSASSAPSSParams(AlgorithmIdentifier, uint)
Initialize RSASSA-PSS parameters with MGF1 for a given digest algorithm and salt length.
Declaration
public RSASSAPSSParams(AlgorithmIdentifier digest_algorithm_id, uint salt_length)
Parameters
Type | Name | Description |
---|---|---|
AlgorithmIdentifier | digest_algorithm_id | The digest algorithm. |
uint | salt_length | The salt length. |
Methods
GetDigestAlgorithm()
Get the digest algorithm parameter value.
Declaration
public AlgorithmIdentifier GetDigestAlgorithm()
Returns
Type | Description |
---|---|
AlgorithmIdentifier | The digest algorithm. |
GetMaskGenAlgorithm()
Get the mask generation function parameter value.
Declaration
public AlgorithmIdentifier GetMaskGenAlgorithm()
Returns
Type | Description |
---|---|
AlgorithmIdentifier | The mask generation function. |
GetSaltLength()
Get the salt length parameter value.
Declaration
public uint GetSaltLength()
Returns
Type | Description |
---|---|
uint | The salt length. |
GetTrailerField()
Get the trailer field parameter value.
Declaration
public uint GetTrailerField()
Returns
Type | Description |
---|---|
uint | The trailer field. |
SetDigestAlgorithm(AlgorithmIdentifier)
Set the digest algorithm parameter value.
Declaration
public void SetDigestAlgorithm(AlgorithmIdentifier value)
Parameters
Type | Name | Description |
---|---|---|
AlgorithmIdentifier | value | The digest algorithm. |
SetMaskGenAlgorithm(AlgorithmIdentifier)
Set the mask generation function parameter value.
Declaration
public void SetMaskGenAlgorithm(AlgorithmIdentifier value)
Parameters
Type | Name | Description |
---|---|---|
AlgorithmIdentifier | value | The mask generation function. |
SetSaltLength(uint)
Set the salt length parameter value.
Declaration
public void SetSaltLength(uint value)
Parameters
Type | Name | Description |
---|---|---|
uint | value | The salt length. |
SetTrailerField(uint)
Set the trailer field parameter value.
Declaration
public void SetTrailerField(uint value)
Parameters
Type | Name | Description |
---|---|---|
uint | value | The trailer field. |