public interface ExternalSigningSupport
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getContent()
Get PDF content to be signed.
|
void |
setSignature(byte[] signature)
Set CMS signature bytes to PDF.
|
java.io.InputStream getContent() throws java.io.IOException
java.io.IOException
- if something went wrongvoid setSignature(byte[] signature) throws java.io.IOException
signature
- CMS signature as byte arrayjava.io.IOException
- if exception occurred during PDF writing