Click or drag to resize

PdfRSASignaturePadding Class

Represents the padding to use with RSA signature.
Inheritance Hierarchy
SystemObject
  SautinSoft.Pdf.SecurityPdfRSASignaturePadding

Namespace: SautinSoft.Pdf.Security
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.3.13
Syntax
public sealed class PdfRSASignaturePadding : IEquatable<PdfRSASignaturePadding>

The PdfRSASignaturePadding type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberPkcs1 Gets the object that represents RSASSA-PKCS1-v1.5 signature scheme of the PKCS #1: RSA Encryption Standard that is supported for compatibility with existing applications.
Public propertyStatic memberPss

Gets the object that represents Probabilistic Signature Scheme (RSASSA-PSS) of the PKCS #1: RSA Encryption Standard that is recommended for new applications.

Parameters of the RSASSA-PSS are set to the following default values:

  • hashAlgorithm: value of HashAlgorithm.
  • maskGenAlgorithm: MGF1 (a mask generation function based on a hash function) with HashAlgorithm.
  • saltLength: the octet length of the hash value produced by HashAlgorithm.
  • trailerField: default (DER-encoded integer 1 which is hexadecimal value 0xBC).
Top
Methods
 NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to this PdfRSASignaturePadding instance.
(Overrides ObjectEquals(Object))
Public methodEquals(PdfRSASignaturePadding) Determines whether the other PdfRSASignaturePadding is equal to this PdfRSASignaturePadding instance.
Public methodGetHashCode Returns a hash code for this PdfRSASignaturePadding instance.
(Overrides ObjectGetHashCode)
Public methodToString Returns a String that represents this PdfRSASignaturePadding instance.
(Overrides ObjectToString)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(PdfRSASignaturePadding, PdfRSASignaturePadding) Determines whether left and right PdfRSASignaturePaddings are equal.
Public operatorStatic memberInequality(PdfRSASignaturePadding, PdfRSASignaturePadding) Determines whether left and right PdfRSASignaturePaddings are not equal.
Top
See Also