Class SignatureContainerGenerationEvent

java.lang.Object
com.itextpdf.kernel.pdf.event.AbstractPdfDocumentEvent
com.itextpdf.signatures.mac.SignatureContainerGenerationEvent
All Implemented Interfaces:
IEvent

public class SignatureContainerGenerationEvent extends AbstractPdfDocumentEvent
Represents an event firing before creating signature container.
  • Field Details

    • START_SIGNATURE_CONTAINER_GENERATION

      public static final String START_SIGNATURE_CONTAINER_GENERATION
      See Also:
  • Constructor Details

    • SignatureContainerGenerationEvent

      public SignatureContainerGenerationEvent (IASN1EncodableVector unsignedAttributes, byte[] signature, InputStream documentInputStream)
      Creates an event firing before creating the signature container.
      Parameters:
      unsignedAttributes - IASN1EncodableVector unsigned signature attributes
      signature - byte[] signature value
      documentInputStream - InputStream containing document bytes considering byte range
  • Method Details

    • getUnsignedAttributes

      public IASN1EncodableVector getUnsignedAttributes()
      Gets IASN1EncodableVector unsigned signature attributes.
      Returns:
      IASN1EncodableVector unsigned signature attributes
    • getSignature

      public byte[] getSignature()
      Gets byte[] signature value.
      Returns:
      byte[] signature value
    • getDocumentInputStream

      public InputStream getDocumentInputStream()
      Gets InputStream containing document bytes considering byte range.
      Returns:
      InputStream containing document bytes considering byte range