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(InputStream content)
          Creates a cms signature for the given content
 

Method Detail

sign

byte[] sign(InputStream content)
            throws SignatureException,
                   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
IOException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.