public static class

SignatureMetadata.Builder

extends Object
java.lang.Object
   ↳ com.pspdfkit.signatures.SignatureMetadata.Builder

Class Overview

A helper class used for building the SignatureMetadata.

Summary

Public Constructors
Builder()
Public Methods
SignatureMetadata build()
Build the SignatureMetadata object from the provided properties.
SignatureMetadata.Builder signatureLocation(String signatureLocation)
The place where this digital signature was applied.
SignatureMetadata.Builder signatureReason(String signatureReason)
The reason why this digital signature was applied.
SignatureMetadata.Builder signersName(String signersName)
The person or entity who signed the document.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Builder ()

Public Methods

public SignatureMetadata build ()

Build the SignatureMetadata object from the provided properties.

Returns

public SignatureMetadata.Builder signatureLocation (String signatureLocation)

The place where this digital signature was applied. (for example, Vienna).

public SignatureMetadata.Builder signatureReason (String signatureReason)

The reason why this digital signature was applied. (for example, "I attest to the accuracy and integrity of this document").

public SignatureMetadata.Builder signersName (String signersName)

The person or entity who signed the document. Important: For security reasons, if the API requires you to pass a certificate for signing, the CN of the certificate will be used and this field will be ignored.