public static class

SignerOptions.Builder

extends Object
java.lang.Object
   ↳ com.pspdfkit.signatures.signers.SignerOptions.Builder

Class Overview

A helper class used for building the SignerOptions.

Summary

Public Constructors
Builder(SignatureFormField signatureFormField, OutputStream destination)
Creates a new SignerOptions.Builder for creating the SignerOptions object to pass to the Signer.
Public Methods
SignerOptions.Builder biometricSignatureData(BiometricSignatureData biometricSignatureData)
BiometricSignatureData that will be written to the digital signature.
SignerOptions build()
Build the SignerOptions object from the provided properties.
SignerOptions.Builder signatureAppearance(SignatureAppearance signatureAppearance)
SignatureAppearance that will be used to determine how the signature looks once signing is done.
SignerOptions.Builder signatureMetadata(SignatureMetadata signatureMetadata)
SignatureMetadata that contains additional metadata to add to the signature.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Builder (SignatureFormField signatureFormField, OutputStream destination)

Creates a new SignerOptions.Builder for creating the SignerOptions object to pass to the Signer.

Parameters
signatureFormField Signature form field to be signed.
destination Destination where the signed document will be written.

Public Methods

public SignerOptions.Builder biometricSignatureData (BiometricSignatureData biometricSignatureData)

BiometricSignatureData that will be written to the digital signature. May be null.

public SignerOptions build ()

Build the SignerOptions object from the provided properties.

Returns

public SignerOptions.Builder signatureAppearance (SignatureAppearance signatureAppearance)

SignatureAppearance that will be used to determine how the signature looks once signing is done.

public SignerOptions.Builder signatureMetadata (SignatureMetadata signatureMetadata)

SignatureMetadata that contains additional metadata to add to the signature.