THotPDF.RenewPAdESLTATimestamp Method

Enterprise edition: 이 기능은 HotPDF Enterprise에 포함되어 제공됩니다. uses 절에 HPDFEnterprise를 추가하고(C++Builder는 #pragma link "HPDFEnterprise"), 다른 edition은 선언을 유지한 채 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는 DER 바이트 배열의 배열로 Certificates, OCSPResponses, CRLs를 담습니다

THPDFCMSTimestampCallback은 HPDFRFC3161BuildRequest, HPDFRFC3161DefaultRequestOptions, HPDFRFC3161ParseResponse로 구현합니다. 도우미가 새 nonce를 넣어 DER 요청을 만들고 응답을 파싱하며, TSA로의 HTTP transport만 호출자의 몫으로 남습니다

사용 참고 사항