public interface PdfBasicSignature 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 |
|---|---|
byte[] |
getSignableBytes()
Returns signable bytes.
|
void |
setContactInfo(String contactInfo)
Sets contact information of the signer.
|
void |
setLocation(String location)
Sets location of the signing.
|
void |
setReason(String reason)
Sets reason of the signing.
|
void |
setSignatureValue(byte[] signatureValue)
Sets a signature value to the signature.
|
void |
setSigningCertificate(X509Certificate certificate)
Sets signing certificate for the signature.
|
void |
setVisualSignature(PdfVisualSignature pdfVisualSignature)
Sets visual appearance of signature.
|
basicSignature, complete, getCerts, getClaimedSigningTime, getCRLs, getDocumentTimestamp, getId, getLocation, getOCSPs, getProfile, getReason, getSignatureMethodAlgorithm, getSignatureTimestamp, getSignatureValue, getSignatureValueDigest, getSigningCertificate, qualifiedSignaturevoid setLocation(String location)
location - location of the signing.void setReason(String reason)
reason - reason of the signing.void setContactInfo(String contactInfo)
contactInfo - contact information.void setVisualSignature(PdfVisualSignature pdfVisualSignature) throws PdfException
pdfVisualSignature - PdfException - if an error occurs.void setSigningCertificate(X509Certificate certificate) throws PdfException
certificate - signing certificate.PdfException - if an error occurs.byte[] getSignableBytes()
throws PdfException
PdfException - if an error occurs.PdfSignature.getSignatureMethodAlgorithm()void setSignatureValue(byte[] signatureValue)
throws PdfException
signatureValue - signature valuePdfException - if an error occurs.