public class

VerificationOptions

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.VerificationOptions

Class Overview

The class VerificationOptions. Options pertaining to digital signature verification.

Summary

Nested Classes
enum VerificationOptions.SecurityLevel  
enum VerificationOptions.TimeMode  
Public Constructors
VerificationOptions(long impl_ptr)
VerificationOptions(VerificationOptions.SecurityLevel in_level)
Constructs a set of options for digital signature verification.
Public Methods
long __GetHandle()
void addTrustedCertificate(byte[] in_binary_DER_certificate)
Adds a certificate to the store of trusted certificates inside this options object.
void destroy()
Frees the native memory of the object.
void enableDigestVerification(boolean in_on_or_off)
Sets a flag that can turn on or off the verification of the digest (cryptographic hash) component of a digital signature.
void enableModificationVerification(boolean in_on_or_off)
Sets a flag that can turn on or off the verification of the permissibility of any modifications made to the document after the signing of the digital signature being verified, in terms of the document and field permissions specified by the digital signature being verified.
void enableTrustVerification(boolean in_on_or_off)
Sets a flag that can turn on or off the verification of the trust status of a digital signature.
void removeTrustedCertificate(byte[] in_binary_DER_certificate)
Removes a certificate from the store of trusted certificates inside this options object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public VerificationOptions (long impl_ptr)

public VerificationOptions (VerificationOptions.SecurityLevel in_level)

Constructs a set of options for digital signature verification.

Parameters
in_level -- the general security level to use. Sets other security settings internally.

Public Methods

public long __GetHandle ()

public void addTrustedCertificate (byte[] in_binary_DER_certificate)

Adds a certificate to the store of trusted certificates inside this options object.

Parameters
in_binary_DER_certificate -- a buffer consisting of the data of a public key certificate encoded in binary DER format

public void destroy ()

Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

public void enableDigestVerification (boolean in_on_or_off)

Sets a flag that can turn on or off the verification of the digest (cryptographic hash) component of a digital signature.

Parameters
in_on_or_off -- A boolean.

public void enableModificationVerification (boolean in_on_or_off)

Sets a flag that can turn on or off the verification of the permissibility of any modifications made to the document after the signing of the digital signature being verified, in terms of the document and field permissions specified by the digital signature being verified.

Parameters
in_on_or_off -- A boolean.

public void enableTrustVerification (boolean in_on_or_off)

Sets a flag that can turn on or off the verification of the trust status of a digital signature.

Parameters
in_on_or_off -- A boolean.

public void removeTrustedCertificate (byte[] in_binary_DER_certificate)

Removes a certificate from the store of trusted certificates inside this options object.

Parameters
in_binary_DER_certificate -- a buffer consisting of the data of a public key certificate encoded in binary DER format