com.pspdfkit.signatures.contents.SignatureContents |
Known Indirect Subclasses
|
Class Overview
An interface for producing content that will be inside the "/Contents" key of a signature
dictionary. This interface abstracts the digital signature that can be in a signature form field
so that you can create your own and place it inside the document. You can call prepareFormFieldForSigningAsync(SignerOptions)
with an instance of this interface set via
SignerOptions
to prepare a document for digital signing.
Summary
Public Methods |
abstract
byte[]
|
signData(byte[] dataToSign)
Given some dataToSign , return the digital signature contents that will be placed in
the PDF document.
|
Public Methods
public
abstract
byte[]
signData
(byte[] dataToSign)
Given some dataToSign
, return the digital signature contents that will be placed in
the PDF document.
Parameters
dataToSign |
The raw range of the PDF document that should be covered by the signature.
In a specific implementation, you may hash the data, encrypt it, and then return it
serialized in PKCS#7 format (https://tools.ietf.org/html/rfc2315).
|