public class SignatureHandler
extends java.lang.Object
Constructor and Description |
---|
SignatureHandler() |
Modifier and Type | Method and Description |
---|---|
void |
appendData(byte[] data)
Adds data to be signed.
|
byte[] |
createSignature()
Calculates the actual signature using client implemented signing methods.
|
java.lang.String |
getName()
Gets the name of this SignatureHandler.
|
boolean |
reset()
Resets any data appending and signature calculations done so far.
|
public java.lang.String getName() throws PDFNetException
PDFNetException
public void appendData(byte[] data) throws PDFNetException
data
- A chunk of data to be signed.PDFNetException
public boolean reset() throws PDFNetException
PDFNetException
public byte[] createSignature() throws PDFNetException
PDFNetException