Class PdfSigner.SignatureApplier
java.lang.Object
com.itextpdf.signatures.PdfSigner.SignatureApplier
- Enclosing class:
PdfSigner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PdfDocumentprivate final Stringprivate long[]private final OutputStreamprivate final PdfReaderprivate IRandomAccessSource -
Constructor Summary
ConstructorsConstructorDescriptionSignatureApplier(PdfDocument document, String fieldName, OutputStream outs) SignatureApplier(PdfReader reader, String fieldName, OutputStream outs) -
Method Summary
Modifier and TypeMethodDescription(package private) voidapply(PdfDocument document, PdfSigner.ISignatureDataProvider signatureDataProvider) voidapply(PdfSigner.ISignatureDataProvider signatureDataProvider)
-
Field Details
-
document
-
reader
-
fieldName
-
outs
-
readerSource
-
gaps
private long[] gaps
-
-
Constructor Details
-
SignatureApplier
-
SignatureApplier
-
-
Method Details
-
apply
public void apply(PdfSigner.ISignatureDataProvider signatureDataProvider) throws IOException, GeneralSecurityException - Throws:
IOExceptionGeneralSecurityException
-
apply
void apply(PdfDocument document, PdfSigner.ISignatureDataProvider signatureDataProvider) throws IOException, GeneralSecurityException - Throws:
IOExceptionGeneralSecurityException
-
getDataToSign
- Throws:
IOException
-