org.apache.pdfbox.pdmodel.interactive.digitalsignature
Interface SignatureInterface


public interface SignatureInterface

Providing an interface for accessing necessary functions for signing a pdf document.

Version:
$
Author:
Thomas Chojecki

Method Summary
 byte[] sign(java.io.InputStream content)
          Creates a cms signature for the given content
 

Method Detail

sign

byte[] sign(java.io.InputStream content)
            throws SignatureException,
                   java.io.IOException
Creates a cms signature for the given content

Parameters:
content - is the content as a (Filter)InputStream
Returns:
signature as a byte array
Throws:
SignatureException
java.io.IOException