PdfPadesSigner class
PAdES implementation based on PdfSignatureBase.
- Inheritance
-
- Object
- PdfSignatureBase
- PdfPadesSigner
Constructors
- PdfPadesSigner({required PdfExternalSigner externalSigner, PdfCmsSigner? cmsSigner, int contentsReserveSize = 16384, int byteRangeDigits = 10, DateTime? signingTime, String? reason, String? location, String? contactInfo, String? name})
- Creates a PAdES signer using an external signer and CMS builder.
Properties
- byteRangeDigits → int
-
Fixed width for ByteRange numbers.
final
- cmsSigner → PdfCmsSigner
-
CMS builder used to build detached signatures.
final
- contactInfo → String?
-
Contact information.
final
- contentsReserveSize → int
-
Reserved size for /Contents.
final
- externalSigner → PdfExternalSigner
-
External signer used to sign CMS attributes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMDP → bool
-
Modification detection and prevention
no setterinherited
- location → String?
-
Location of signing.
final
- name → String?
-
Signer name.
final
- reason → String?
-
Reason for signing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signingTime → DateTime?
-
Signing time to embed.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
preSign(
PdfObject< PdfDataType> object, PdfDict<PdfDataType> params) → void -
Populates the signature dictionary before hashing.
override
-
sign(
PdfObject< PdfDataType> object, PdfStream os, PdfDict<PdfDataType> params, int? offsetStart, int? offsetEnd) → Future<void> -
Computes the ByteRange digest, builds CMS, and embeds /Contents.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited