PdfSignature constructor

PdfSignature(
  1. {String? signedName,
  2. String? locationInfo,
  3. String? reason,
  4. String? contactInfo,
  5. List<PdfCertificationFlags>? documentPermissions,
  6. CryptographicStandard cryptographicStandard = CryptographicStandard.cms,
  7. DigestAlgorithm digestAlgorithm = DigestAlgorithm.sha256,
  8. PdfCertificate? certificate,
  9. DateTime? signedDate}
)

Initializes a new instance of the PdfSignature class with the page and the signature name.

Implementation

PdfSignature(
    {String? signedName,
    String? locationInfo,
    String? reason,
    String? contactInfo,
    List<PdfCertificationFlags>? documentPermissions,
    CryptographicStandard cryptographicStandard = CryptographicStandard.cms,
    DigestAlgorithm digestAlgorithm = DigestAlgorithm.sha256,
    PdfCertificate? certificate,
    DateTime? signedDate}) {
  _helper = PdfSignatureHelper(this);
  _init(signedName, locationInfo, reason, contactInfo, documentPermissions,
      cryptographicStandard, digestAlgorithm, certificate, signedDate);
}