com.qoppa.pdf
Class SigningInformation

java.lang.Object
  extended bycom.qoppa.pdf.SigningInformation

public class SigningInformation
extends Object

Object that holds information necessary to digitally sign a PDF file. This object is normally used by the host application to set the information that the library needs to sign a PDF file.

Author:
Qoppa Software

Constructor Summary
SigningInformation(KeyStore ks, String entryAlias, String aliasPWD)
           
SigningInformation(String pkcs12File, String ksPWD, String entryAlias, String aliasPWD)
           
 
Method Summary
 Certificate[] getCertificateChain()
           
 String getContactInformation()
           
 String getLocation()
           
 PrivateKey getPrivateKey()
           
 String getReason()
           
 Certificate getSignerCertificate()
           
 void setContactInformation(String contactInformation)
           
 void setLocation(String location)
           
 void setReason(String reason)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SigningInformation

public SigningInformation(String pkcs12File,
                          String ksPWD,
                          String entryAlias,
                          String aliasPWD)
                   throws GeneralSecurityException,
                          IOException,
                          PDFException

SigningInformation

public SigningInformation(KeyStore ks,
                          String entryAlias,
                          String aliasPWD)
                   throws GeneralSecurityException,
                          PDFException
Method Detail

getContactInformation

public String getContactInformation()

setContactInformation

public void setContactInformation(String contactInformation)

getLocation

public String getLocation()

setLocation

public void setLocation(String location)

getReason

public String getReason()

setReason

public void setReason(String reason)

getPrivateKey

public PrivateKey getPrivateKey()

getSignerCertificate

public Certificate getSignerCertificate()

getCertificateChain

public Certificate[] getCertificateChain()