public static class

DigitalSignatureInfo.Reference

extends Object
java.lang.Object
   ↳ com.pspdfkit.signatures.DigitalSignatureInfo.Reference

Class Overview

Signature reference dictionary. This dictionary contains the object digest result, including information about how it was computed.

Summary

Public Methods
String getDataName()
Name of the object used while computing the object digest.
Range getDigestLocation()
The location of the digest value in the PDF file in bytes, or null.
String getDigestMethod()
The algorithm used for computing the digest.
String getDigestValue()
The result of the digest operation (if required by the transformation) or null.
DigitalSignatureInfo.ReferenceTransformMethod getTransformMethod()
Returns the transformation method that was used to generate the digest.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public String getDataName ()

Name of the object used while computing the object digest. This is only used for FIELDMDP or IDENTITY.

Returns
  • Name of the object used for computing the digest or null.

public Range getDigestLocation ()

The location of the digest value in the PDF file in bytes, or null. This value is present when it is required by the transformation method.

Returns
  • Position of the digest value inside the PDF (denote as position and length in bytes) or null.

public String getDigestMethod ()

The algorithm used for computing the digest. Valid values are "MD5" and "SHA1". May be null.

Returns
  • The digestion algorithm used. May be one of "MD5", "SHA1", or null.

public String getDigestValue ()

The result of the digest operation (if required by the transformation) or null.

Returns
  • The resulting digest value, or null if not needed by the used transformation method.

public DigitalSignatureInfo.ReferenceTransformMethod getTransformMethod ()

Returns the transformation method that was used to generate the digest.

Returns

public String toString ()