Some test text!

Enable Long-Term Validation (LTV)keyboard_arrow_down

Add Long-Term Validation (LTV) information for a signature on Cross-Platform (Core)

To add Long-Term Validation (LTV) information for a signature (these examples assume and use an existing DocTimeStamp for LTV addition):

VerificationOptions opts = new VerificationOptions(VerificationOptions.SignatureVerificationSecurityLevel.e_compatibility_and_archiving);
/* By default, we only check online for revocation of certificates using the newer and lighter 
OCSP protocol as opposed to CRL, due to lower resource usage and greater reliability. However, 
it may be necessary to enable online CRL revocation checking in order to verify some timestamps
(i.e. those that do not have an OCSP responder URL for all non-trusted certificates). */
VerificationResult timestamp_verification_result = doctimestamp_signature_field.Verify(opts);
if (!doctimestamp_signature_field.EnableLTVOfflineVerification(timestamp_verification_result))
    Console.WriteLine("Could not enable LTV for DocTimeStamp.");
    return false;
doc.Save(in_outpath, SDFDoc.SaveOptions.e_incremental);

Digital signatures
Full code sample which demonstrates using the digital signature API to digitally sign, certify, and/or verify PDF documents.

Get the answers you need: Support


Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

Join our upcoming webinar to find out about built-in, full-functioning document capabilities directly in Salesforce.

Save your seat