PoDoFo 1.2.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Friends | List of all members
PoDoFo::PdfSignerDocTimeStamp Class Reference

This class computes a document timestamp (/Type /DocTimeStamp) with a RFC 3161 timestamp token, as described in ISO 32000-2:2020 12.8.5. More...

#include <PdfSignerDocTimeStamp.h>

Inherits PoDoFo::PdfSigner.

Public Member Functions

 PdfSignerDocTimeStamp (const PdfSignerDocTimeStampParams &parameters={ })
 
void Reset () override
 
void AppendData (const bufferview &data) override
 
void ComputeSignature (charbuff &contents, bool dryrun) override
 
void FetchIntermediateResult (charbuff &result) override
 
void ComputeSignatureDeferred (const bufferview &processedResult, charbuff &contents, bool dryrun) override
 
std::string GetSignatureSubFilter () const override
 
std::string GetSignatureType () const override
 
const PdfSignerDocTimeStampParams & GetParameters () const
 

Static Public Attributes

static constexpr unsigned DefaultReservedSize = 8192
 The size reserved for the timestamp token in deferred timestamping, when not specified.
 

Friends

class PdfSigningContext
 

Detailed Description

This class computes a document timestamp (/Type /DocTimeStamp) with a RFC 3161 timestamp token, as described in ISO 32000-2:2020 12.8.5.

Remarks
In deferred timestamping the intermediate result is the document digest, and the processed result is the DER encoded TimeStampResp or TimeStampToken

The documentation for this class was generated from the following files: