public class CertificationSignaturePdfBox extends ApprovalSignaturePdfBox implements CertificationSignature
CertificationSignature.ModificationPermission
Modifier and Type | Method and Description |
---|---|
LegalContentAttestation |
getLegalContentAttestation()
Extract the legal content attestation contained in the document.
|
CertificationSignature.ModificationPermission |
getModificationPermission()
Check what kind of modifications are allowed, returns null if the document contains no
certification signature.
|
getCertificateChain, getCMSSignature, getCrlRevocationStatus, getEncodedCmsSignature, getOcspRevocationStatus, getRevocationInformation, getSignatureTimeStamps, getSignatureTimeStampToken, getSignerCertificate, getSigningTime, verifySignatureTimestampImprint, verifySignatureTimestampImprint, verifySignatureTimestamps, verifySignatureValue
getName, getRevision, getRevision, getRevision, getSignatureDictionaryDate, getSubfilter, isModified
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCertificateChain, getCMSSignature, getCrlRevocationStatus, getEncodedCmsSignature, getOcspRevocationStatus, getRevocationInformation, getSignatureTimeStamps, getSignatureTimeStampToken, getSignerCertificate, verifySignatureTimestampImprint, verifySignatureTimestampImprint, verifySignatureTimestamps, verifySignatureValue
getName, getRevision, getRevision, getRevision, getSignatureDictionaryDate, getSigningTime, getSubfilter, isModified
public LegalContentAttestation getLegalContentAttestation() throws PdfSignatureException
CertificationSignature
getLegalContentAttestation
in interface CertificationSignature
PdfSignatureException
- if no signed document has been specified with initVerifypublic CertificationSignature.ModificationPermission getModificationPermission() throws PdfSignatureException, java.io.IOException
CertificationSignature
getModificationPermission
in interface CertificationSignature
PdfSignatureException
- if more than one certification signature was foundjava.io.IOException
- if the document can't be read