Interface PDFSignerResult

All Superinterfaces:
SignerResult<byte[]>
All Known Implementing Classes:
DefaultPDFSignerResult

public interface PDFSignerResult extends SignerResult<byte[]>
Represents the result from an PDF signature operation.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
See Also:
  • Method Details

    • getSignedAttributes

      byte[] getSignedAttributes()
      Gets the signed attributes bytes signed by the generated signature. These are the bytes sent to an external signature service as the to be signed bytes. These bytes may be manipulated from the signed bytes in the CMSSignedData after adapting the result to requirements by the signing service. One such example is if the signature is a PAdES signature, where the signing time attribute must be removed before being sent to the signing service.
      Returns:
      signed attributes bytes
    • getSignedData

      byte[] getSignedData()
      Gets the bytes of CMS Content Info holding the SignedData.
      Returns:
      the bytes of CMS Content Info holding the SignedData