java.io.Closeable, java.lang.AutoCloseable, ExternalSigningSupportpublic class SigningSupport extends java.lang.Object implements ExternalSigningSupport, java.io.Closeable
| Constructor | Description |
|---|---|
SigningSupport(COSWriter cosWriter) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
java.io.InputStream |
getContent() |
Get PDF content to be signed.
|
void |
setSignature(byte[] signature) |
Set CMS signature bytes to PDF.
|
public SigningSupport(COSWriter cosWriter)
public java.io.InputStream getContent()
throws java.io.IOException
ExternalSigningSupportgetContent in interface ExternalSigningSupportjava.io.IOException - if something went wrongpublic void setSignature(byte[] signature)
throws java.io.IOException
ExternalSigningSupportsetSignature in interface ExternalSigningSupportsignature - CMS signature as byte arrayjava.io.IOException - if exception occured during PDF writingpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeablejava.io.IOExceptionCopyright © 2002–2018. All rights reserved.