public interface StatusRequest
Modifier and Type | Method and Description |
---|---|
byte[] |
getSignatureData()
Gets the data to be signed
|
int[] |
getSignatureDataByteRange()
Gets the byte range of the data to be signed
|
boolean |
isReady()
If true finishSign in PdfAs can be called to retrieve the signed pdf
|
boolean |
needCertificate()
If true PDF-AS requires the signature certificate
Retrieve the signing certificate and set it via setCertificate
|
boolean |
needSignature()
If true PDF-AS requires a the CAdES signature
use getSignatureData() and getSignatureDataByteRange() to retrieve the
data to be signed and set the signature via setSigature
|
void |
setCertificate(byte[] encodedCertificate)
Sets the signing certificate
|
void |
setSigature(byte[] signatureValue)
Sets the signature
|
boolean needCertificate()
boolean needSignature()
boolean isReady()
byte[] getSignatureData()
int[] getSignatureDataByteRange()
void setCertificate(byte[] encodedCertificate) throws CertificateException
encodedCertificate
- CertificateException
void setSigature(byte[] signatureValue)
signatureValue
-