public class ExternalBlankSignatureContainer extends Object implements IExternalSignatureContainer
| Constructor and Description |
|---|
ExternalBlankSignatureContainer(PdfDictionary sigDic)
Creates an ExternalBlankSignatureContainer.
|
ExternalBlankSignatureContainer(PdfName filter,
PdfName subFilter)
Creates an ExternalBlankSignatureContainer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
modifySigningDictionary(PdfDictionary signDic)
Modifies the signature dictionary to suit the container.
|
byte[] |
sign(InputStream data)
Produces the container with the signature.
|
public ExternalBlankSignatureContainer(PdfDictionary sigDic)
sigDic - PdfDictionary containing signature iformation. /SubFilter and /Filter aren't set in this constructor.public ExternalBlankSignatureContainer(PdfName filter, PdfName subFilter)
filter - PdfName of the signature handler to use when validating this signaturesubFilter - PdfName that describes the encoding of the signaturepublic byte[] sign(InputStream data) throws GeneralSecurityException
IExternalSignatureContainersign in interface IExternalSignatureContainerdata - the data to signGeneralSecurityException - the general security exceptionpublic void modifySigningDictionary(PdfDictionary signDic)
IExternalSignatureContainerPdfName.Filter and
PdfName.SubFilter will have to be set.modifySigningDictionary in interface IExternalSignatureContainersignDic - the signature dictionaryCopyright © 1998–2021 iText Group NV. All rights reserved.