Package com.itextpdf.signatures.mac
Class SignatureContainerGenerationEvent
java.lang.Object
com.itextpdf.kernel.pdf.event.AbstractPdfDocumentEvent
com.itextpdf.signatures.mac.SignatureContainerGenerationEvent
- All Implemented Interfaces:
-
IEvent
Represents an event firing before creating signature container.
-
Field Summary
Fields inherited from class com.itextpdf.kernel.pdf.event.AbstractPdfDocumentEvent
type
-
Constructor Summary
ConstructorDescriptionSignatureContainerGenerationEvent
(IASN1EncodableVector unsignedAttributes, byte[] signature, InputStream documentInputStream) Creates an event firing before creating the signature container. -
Method Summary
Modifier and TypeMethodDescriptionGetsInputStream
containing document bytes considering byte range.byte[]
Getsbyte[]
signature value.GetsIASN1EncodableVector
unsigned signature attributes.Methods inherited from class com.itextpdf.kernel.pdf.event.AbstractPdfDocumentEvent
getDocument, getType, setDocument
-
Field Details
-
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
GetsIASN1EncodableVector
unsigned signature attributes.- Returns:
-
IASN1EncodableVector
unsigned signature attributes
-
getSignature
public byte[] getSignature()Getsbyte[]
signature value.- Returns:
-
byte[]
signature value
-
getDocumentInputStream
GetsInputStream
containing document bytes considering byte range.- Returns:
-
InputStream
containing document bytes considering byte range
-