CPDFDigitalSignatureConfig class

Configuration for writing a digital signature to a new PDF file.

The certificate password is sent only for the signing call. Do not log or persist it in application metadata.

example:

final config = CPDFDigitalSignatureConfig(
  certificatePath: certificatePath,
  password: certificatePassword,
  reason: 'Approved document',
  location: 'Example app',
  permissions: CPDFSignaturePermission.fillAndSign,
  timestampServerUrl: 'http://timestamp.digicert.com',
);

Constructors

CPDFDigitalSignatureConfig({required String certificatePath, required String password, String? reason, String? location, String? name, CPDFSignaturePermission permissions = CPDFSignaturePermission.fillAndSign, CPDFDigitalSignatureAppearance appearance = const CPDFDigitalSignatureAppearance(), String? timestampServerUrl})
const

Properties

appearance → CPDFDigitalSignatureAppearance
final
certificatePath → String
final
hashCode → int
The hash code for this object.
no setterinherited
location → String?
final
name → String?
final
password → String
final
permissions → CPDFSignaturePermission
final
reason → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestampServerUrl → String?
RFC 3161 timestamp authority (TSA) URL, using http or https.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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