THotPDF.RenewPAdESLTATimestamp メソッド

Enterprise エディション: この機能は HotPDF Enterprise に同梱されます。uses 句に HPDFEnterprise を追加してください(C++Builder: #pragma link "HPDFEnterprise")。他のエディションでは宣言はそのまま残り、EHPDFEnterpriseRequired が発生します

PAdES-LTA のアーカイブタイムスタンプ連鎖を、トランザクション的な増分アップデートで延長します

宣言

class function RenewPAdESLTATimestamp(const InputPDFPath, OutputPDFPath: string; const GetDocumentTimeStamp: THPDFCMSTimestampCallback; ContentsBytes: Integer= 16384): boolean; overload;
class function RenewPAdESLTATimestamp(const InputPDFPath, OutputPDFPath: string; const GetDocumentTimeStamp: THPDFCMSTimestampCallback; DigestAlgorithm: THPDFCMSDigestAlgorithm; ContentsBytes: Integer= 16384): boolean; overload;
class function RenewPAdESLTATimestamp(const InputPDFPath, OutputPDFPath: string; const GetDocumentTimeStamp: THPDFCMSTimestampCallback; const Evidence: THPDFPAdESLTAEvidence; ContentsBytes: Integer= 16384): boolean; overload;
class function RenewPAdESLTATimestamp(const InputPDFPath, OutputPDFPath: string; const GetDocumentTimeStamp: THPDFCMSTimestampCallback; const Evidence: THPDFPAdESLTAEvidence; DigestAlgorithm: THPDFCMSDigestAlgorithm; ContentsBytes: Integer= 16384): boolean; overload;

エビデンス

THPDFPAdESLTAEvidence は Certificates、OCSPResponses、CRLs を DER バイト配列の配列として保持します

THPDFCMSTimestampCallback は HPDFRFC3161BuildRequest、HPDFRFC3161DefaultRequestOptions、HPDFRFC3161ParseResponse で実装します。ヘルパーが新しい nonce 付きの DER 要求を組み立てて応答をパースし、TSA への HTTP 転送だけが呼び出し側の担当として残ります

使用上の注意