at.gv.egiz.pdfas.api.sign
Interface SignResult

All Known Implementing Classes:
SignResultImpl

public interface SignResult

The result of a sign operation.

Author:
wprinz

Method Summary
 List getNonTextualObjects()
          Returns a list<NonTextObjectInfo of non textual objects in the pdf document.
 DataSink getOutputDocument()
          Returns the filled output data sink.
 SignaturePosition getSignaturePosition()
          Returns the position where the signature is finally placed.
 X509Certificate getSignerCertificate()
          Returns the certificate of the signer.
 boolean hasNonTextualObjects()
          Returns if pdf has non textual objects (only for textual signature available).
 

Method Detail

getOutputDocument

public DataSink getOutputDocument()
Returns the filled output data sink.

Returns:
Returns the filled output data sink.

getSignerCertificate

public X509Certificate getSignerCertificate()
Returns the certificate of the signer.

Returns:
Returns the certificate of the signer.

getSignaturePosition

public SignaturePosition getSignaturePosition()
Returns the position where the signature is finally placed.

This information can be useful for post-processing the document.

Consult the PDF-AS documentation section Commandline for further information about positioning.

Returns:
Returns the position where the signature is finally placed. May return null if no position information is available.

getNonTextualObjects

public List getNonTextualObjects()
Returns a list<NonTextObjectInfo of non textual objects in the pdf document. Only available for textual signatures. Show this to the user who signed the textual content only!

Returns:
List<NonTextObjectInfo or null of not available (binary signature)

hasNonTextualObjects

public boolean hasNonTextualObjects()
Returns if pdf has non textual objects (only for textual signature available).

Returns:


Copyright © 2006-2010. All Rights Reserved.