pdf-lite - v1.0.1
    Preparing search index...

    RFC 3161 timestamp signature object (ETSI.RFC3161). Creates document timestamps using a Time Stamp Authority (TSA).

    const timestamp = new PdfEtsiRfc3161SignatureObject({
    timeStampAuthority: { url: 'http://timestamp.example.com' }
    })

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    encryptable?: boolean
    generationNumber: number
    modified: boolean = true

    Indicates whether the object has been modified. By default, assume it has been modified because it's a new object

    objectNumber: number
    offset: Ref<number>
    orderIndex?: number
    postTokens?: PdfToken[]

    Optional tokens to prepend or append during serialization

    preTokens?: PdfToken[]

    Optional tokens to prepend or append during serialization

    sign: (
        options: { bytes: ByteArray; embedRevocationInfo?: boolean },
    ) => Promise<{ revocationInfo?: RevocationInfo; signedBytes: ByteArray }> = ...

    Creates a timestamp for the document bytes.

    Type Declaration

      • (
            options: { bytes: ByteArray; embedRevocationInfo?: boolean },
        ): Promise<{ revocationInfo?: RevocationInfo; signedBytes: ByteArray }>
      • Signs the document bytes and returns the signature.

        Parameters

        • options: { bytes: ByteArray; embedRevocationInfo?: boolean }

          Signing options including bytes to sign.

        Returns Promise<{ revocationInfo?: RevocationInfo; signedBytes: ByteArray }>

        The signed bytes and optional revocation information.

    Signing options with bytes to timestamp.

    The timestamp token and revocation information.

    Error if no timestamp token is received.

    timeStampAuthority: TimeStampAuthority

    Timestamp authority configuration.

    MAX_ORDER_INDEX: 2147483647

    Accessors

    Methods