@Deprecated
public interface SignatureInformation
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getInternalSignatureInformation()
Deprecated.
Returns additional, internal information about the found signature.
|
java.util.List |
getNonTextualObjects()
Deprecated.
Returns a list<
NonTextObjectInfo > of non textual objects in the pdf document. |
java.lang.String |
getSignatureType()
Deprecated.
Returns the type of this signature (binary/textual).
|
DataSource |
getSignedData()
Deprecated.
Returns the DataSource providing the data that was signed.
|
java.security.cert.X509Certificate |
getSignerCertificate()
Deprecated.
Returns the certificate of the signer.
|
java.util.Date |
getSigningTime()
Deprecated.
Returns the signing time, which is the time when the signature was created.
|
java.lang.String |
getTimeStampValue()
Deprecated.
Returns the embedded /TimeStamp value (b64 encoded) from the signature if available.
|
boolean |
hasNonTextualObjects()
Deprecated.
Returns
true if non textual objects have been found, false if not. |
void |
setNonTextualObjects(java.util.List nonTextualObjects)
Deprecated.
|
java.lang.String getSignatureType()
May be Constants.SIGNATURE_TYPE_BINARY
or
Constants.SIGNATURE_TYPE_TEXTUAL
.
DataSource getSignedData()
Note that this is the signed data as sent to the verification device by PDF-AS. The verification device (e.g. MOA) may perform several other transformations on the data before feeding it to the signature hash function. To get the actual hashed data use the ReturnHashInputData mechanism (which is very slow).
VerifyParameters.setReturnHashInputData(boolean)
,
VerifyResult.getHashInputData()
java.security.cert.X509Certificate getSignerCertificate()
Information like subject name, issuer name or serial number can be retrieved form this certificate.
java.util.Date getSigningTime()
java.lang.Object getInternalSignatureInformation()
Note that this provides a way for developers to gather core information about the signature. What information is returned strongly depends on the core implementation.
java.lang.String getTimeStampValue()
java.util.List getNonTextualObjects()
NonTextObjectInfo
> of non textual objects in the pdf document.
Only available for textual signatures. Show this to the user who signed the textual content only!NonTextObjectInfo
or null of not available (binary signature)void setNonTextualObjects(java.util.List nonTextualObjects)
boolean hasNonTextualObjects()
true
if non textual objects have been found, false
if not.true
if non textual objects have been found, false
if not.