public interface PdfQualifiedSignature extends PdfSignature
SignatureProfile,
PdfSignature.getProfile()KEY_SIGNATURE_METHOD_OID, SIGNATURE_METHOD_ECDSA_SHA256, SIGNATURE_METHOD_ECDSA_SHA384, SIGNATURE_METHOD_ECDSA_SHA512, SIGNATURE_METHOD_RSA_SHA1, SIGNATURE_METHOD_RSA_SHA224, SIGNATURE_METHOD_RSA_SHA256, SIGNATURE_METHOD_RSA_SHA384, SIGNATURE_METHOD_RSA_SHA512| Modifier and Type | Method and Description |
|---|---|
void |
setCertificateValues(List<byte[]> certificateValues)
Sets a list of X.509 certificates that are required to validate the signature.
|
void |
setRevocationValues(List<byte[]> ocspValues,
List<byte[]> crlValues)
Sets a list of OCSP responses and a list of CRL to the signature
|
void |
setSignatureTimestamp(byte[] signatureTimestamp)
Sets an ASN.1 encoded signature timestamp to the signature.
|
basicSignature, complete, getCerts, getClaimedSigningTime, getCRLs, getDocumentTimestamp, getId, getLocation, getOCSPs, getProfile, getReason, getSignatureMethodAlgorithm, getSignatureTimestamp, getSignatureValue, getSignatureValueDigest, getSigningCertificate, qualifiedSignaturevoid setSignatureTimestamp(byte[] signatureTimestamp)
throws PdfException
signatureTimestamp - a signature timestamp.PdfExceptionPdfSignature.getSignatureTimestamp()void setCertificateValues(List<byte[]> certificateValues) throws PdfException
certificateValues - PdfExceptionvoid setRevocationValues(List<byte[]> ocspValues, List<byte[]> crlValues) throws PdfException
ocspValues - a list of DER encoded OCSP responses accordingly to Online Certificate Status Protocol (RFC 2560).crlValues - a list of X.509 CRLPdfException