|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Holds the information of one found signature block, which is the signed data and the corresponding signature information.
| Method Summary | |
Object |
getInternalSignatureInformation()
Returns additional, internal information about the found signature. |
List |
getNonTextualObjects()
Returns a list< NonTextObjectInfo> of non textual objects in the pdf document.
|
String |
getSignatureType()
Returns the type of this signature (binary/textual). |
DataSource |
getSignedData()
Returns the DataSource providing the data that was signed. |
X509Certificate |
getSignerCertificate()
Returns the certificate of the signer. |
Date |
getSigningTime()
Returns the signing time, which is the time when the signature was created. |
String |
getTimeStampValue()
Returns the embedded /TimeStamp value (b64 encoded) from the signature if available. |
boolean |
hasNonTextualObjects()
Returns true if non textual objects have been found, false if not. |
void |
setNonTextualObjects(List nonTextualObjects)
|
| Method Detail |
public String getSignatureType()
May be Constants.SIGNATURE_TYPE_BINARY or
Constants.SIGNATURE_TYPE_TEXTUAL.
public 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()public X509Certificate getSignerCertificate()
Information like subject name, issuer name or serial number can be retrieved form this certificate.
public Date getSigningTime()
public 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.
public String getTimeStampValue()
public 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)public void setNonTextualObjects(List nonTextualObjects)
public boolean hasNonTextualObjects()
true if non textual objects have been found, false if not.
true if non textual objects have been found, false if not.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||