PdfSignature class

Represents a digital signature used for signing a PDF document.

Constructors

PdfSignature({String? signedName, String? locationInfo, String? reason, String? contactInfo, List<PdfCertificationFlags>? documentPermissions, CryptographicStandard cryptographicStandard = CryptographicStandard.cms, DigestAlgorithm digestAlgorithm = DigestAlgorithm.sha256, PdfCertificate? certificate, TimestampServer? timestampServer, DateTime? signedDate})
Initializes a new instance of the PdfSignature class with the page and the signature name.

Properties

certificate PdfCertificate?
Gets or sets the certificate
getter/setter pair
contactInfo String?
Gets or sets information provided by the signer to enable a recipient to contact the signer to verify the signature; for example, a phone number.
getter/setter pair
cryptographicStandard CryptographicStandard
Gets or sets cryptographic standard.
getter/setter pair
digestAlgorithm DigestAlgorithm
Gets or sets digestion algorithm.
getter/setter pair
documentPermissions List<PdfCertificationFlags>
Gets or sets the permission for certificated document.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
locationInfo String?
Gets or sets the physical location of the signing.
getter/setter pair
reason String?
Gets or sets reason of signing.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signedDate DateTime?
Gets or sets the signed date.
getter/setter pair
signedName String?
Gets or sets the signed name
getter/setter pair
timestampServer TimestampServer?
Gets or sets time stamping server unique resource identifier.
getter/setter pair

Methods

addExternalSigner(IPdfExternalSigner signer, List<List<int>> publicCertificatesData) → void
Add external signer for signature.
createLongTermValidity({List<List<int>>? publicCertificatesData, RevocationType type = RevocationType.ocspAndCrl, bool includePublicCertificates = false}) Future<bool>
Creates long-term validation of the signature.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited