3#ifndef PDFSDK_CXX_PDF_TIMESTAMP_HANDLER_H_INCLUDED_
4#define PDFSDK_CXX_PDF_TIMESTAMP_HANDLER_H_INCLUDED_
9#include <pdfsdk/cxx/bytes.h>
A callback interface for obtaining an RFC 3161 timestamp token.
Definition timestamp_handler.h:27
virtual size_t EstimateMaxSize()=0
Estimate the maximum size of the timestamp token.
virtual std::vector< Byte > GetTimestampToken(std::span< const Byte > tsReq)=0
Sends a DER-encoded RFC 3161 TimeStampReq to a TSA and returns the token.