cz.utb.fai.simkovicp.pki.sign
Interface PDFSignable

All Superinterfaces:
java.io.Serializable

public interface PDFSignable
extends java.io.Serializable

Provides the methods for signing of the PDF document.


Method Summary
 byte[] sign(java.security.PrivateKey privateKey, java.security.cert.Certificate[] x509Certs, byte[] data)
          Sign the PDF document.
 

Method Detail

sign

byte[] sign(java.security.PrivateKey privateKey,
            java.security.cert.Certificate[] x509Certs,
            byte[] data)
            throws SignException
Sign the PDF document.

Parameters:
privateKey -
x509Certs -
data -
Returns:
Throws:
SignException