3.2.4 • Published 1 month ago

@signpdf/utils v3.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Utilities

for @signpdf

npm version

Usage

Used by the other @signpdf packages internally. Additionally, needed for PAdES compliant signatures"

import { plainAddPlaceholder } from '@signpdf/placeholder-plain';
import { SUBFILTER_ETSI_CADES_DETACHED } from '@signpdf/utils';

const pdfToSign = plainAddPlaceholder({
  ...,
  subFilter: SUBFILTER_ETSI_CADES_DETACHED,
});

Notes

  • Feel free to copy and paste any part of this code. See its defined Purpose.