AbstractCreates a new signature object.
Either a signature dictionary or options to create one.
OptionalencryptableProtectedmodifiedIndicates whether the object has been modified. By default, assume it has been modified because it's a new object
OptionalorderOptionalpostOptional tokens to prepend or append during serialization
OptionalpreOptional tokens to prepend or append during serialization
Static ReadonlyMAX_The type of this PDF object
Creates a deep clone of the object
Compares this object to another for equality based on their token representations
Optionalother: PdfObjectIndicates whether the object has been modified. Override this method if the modified state is determined differently
Optionalref: PdfObjectReferenceGets the insertion order for this object in the PDF.
High order value to place signature near end of document.
Sets the modified state of the object. Override this method if the modified state is determined differently
Sets the signed bytes in the signature dictionary.
The signature bytes to set.
AbstractsignSigns the document bytes and returns the signature.
Signing options including bytes to sign.
The signed bytes and optional revocation information.
Converts the object to a ByteArray, optionally padding to a specified length
OptionalpadTo: numberProtectedtokenizeTokenizes the object into an array of PdfTokens
Converts the object to a string representation
Converts the object to an array of PdfTokens, including any pre or post tokens
Staticcreate
Abstract base class for PDF signature objects. Subclasses implement specific signature formats (PKCS#7, CAdES, etc.).
Example