Top Description Methods
org.apache.pdfbox.pdmodel.interactive.digitalsignature

public Interface SignatureInterface

Imports
java.io.IOException, .InputStream

Providing an interface for accessing necessary functions for signing a PDF document.
Author
Thomas Chojecki

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

signature as a byte array
sign
(InputStream
is the content as a (Filter)InputStream
content
)

Creates a cms signature for the given content

Method Detail

signback to summary
public byte[] sign(InputStream content) throws IOException

Creates a cms signature for the given content

Parameters
content:InputStream

is the content as a (Filter)InputStream

Returns:byte[]

signature as a byte array

Exceptions
IOException:
if the signature could not be created