SignDoc SDK (Java)
5.0.0
|
Information about a signature field returned by SignDocDocument.getSignature(). More...
Public Member Functions | |
String | getFieldName () throws SignDocException |
Get the name of the signature field. More... | |
int | getFieldPage () throws SignDocException |
Get the page number of the signature field. More... | |
synchronized int | getSignatureType () throws SignDocException |
Get the type of the signature. More... | |
synchronized int | getMethod () throws SignDocException |
Get the signing method. More... | |
synchronized int | getClearedIndex () throws SignDocException |
Get the index of the signature at which this signature has been removed. More... | |
synchronized int | getDocMDP () throws SignDocException |
Get the DocMDP P value of a certification signature. More... | |
synchronized int | getLockMDP () throws SignDocException |
Get the lock MDP value. More... | |
synchronized byte[] | getSigningCertificate () throws SignDocException |
Get the signing certificate as DER-encoded blob. More... | |
synchronized String | getSignerCommonName () throws SignDocException |
Get the common name from the signing certificate. More... | |
synchronized String | getSignerEmail () throws SignDocException |
Get the email address from the signing certificate. More... | |
synchronized String | getTimeStamp () throws SignDocException |
Get the time stamp of the signature. More... | |
synchronized int | getChangeCount () throws SignDocException |
Get the number of changes that have been made after this signature. More... | |
synchronized SignDocChange | getChange (int aIndex) throws SignDocException |
Get a SignDocChange object for a change. More... | |
synchronized int | getBiometricEncryption () throws SignDocException |
Get the encryption method used for biometric data of the signature field. More... | |
synchronized void | close () |
Destroy the underlying native object (for java.lang.AutoCloseable). More... | |
Protected Member Functions | |
void | finalize () throws Throwable |
Finalize this object. More... | |
Information about a signature field returned by SignDocDocument.getSignature().
If the SignDocDocument object is closed or destroyed before the SignDocSignature objects returned by its getSignature() function, some functions may fail.
synchronized void close | ( | ) |
Destroy the underlying native object (for java.lang.AutoCloseable).
After calling this method, all methods but close() will throw SignDocUnexpectedErrorException.
|
protected |
Finalize this object.
Do not call this method unless you know what you are doing.
synchronized int getBiometricEncryption | ( | ) | throws SignDocException |
Get the encryption method used for biometric data of the signature field.
synchronized SignDocChange getChange | ( | int | aIndex | ) | throws SignDocException |
Get a SignDocChange object for a change.
[in] | aIndex | Zero-based index of the change. |
synchronized int getChangeCount | ( | ) | throws SignDocException |
Get the number of changes that have been made after this signature.
For PDF documents, you can find out what changes have been made to the document between this signature and the next one (or after the last signature if this is the last signature).
Computing the changes can be expensive.
Changes are not reported in any particular order; before presenting them to a user, you should group them.
Detecting and categorizing changes is work in progress. Moreover, it will never be bug-compatible with Adobe products.
synchronized int getClearedIndex | ( | ) | throws SignDocException |
Get the index of the signature at which this signature has been removed.
This function always returns -1 for TIFF document.
synchronized int getDocMDP | ( | ) | throws SignDocException |
Get the DocMDP P value of a certification signature.
The DocMDP P value specifies what modifications to the document are allowed by the certification signature.
String getFieldName | ( | ) | throws SignDocException |
Get the name of the signature field.
int getFieldPage | ( | ) | throws SignDocException |
Get the page number of the signature field.
synchronized int getLockMDP | ( | ) | throws SignDocException |
Get the lock MDP value.
The lock MDP value specifies what modifications to the document are allowed by the signature lock dictionary.
synchronized int getMethod | ( | ) | throws SignDocException |
Get the signing method.
If the output is SignDocSignatureParameters.m_digsig_cades_rfc3161, the signature is a document time stamp.
synchronized int getSignatureType | ( | ) | throws SignDocException |
Get the type of the signature.
synchronized String getSignerCommonName | ( | ) | throws SignDocException |
Get the common name from the signing certificate.
synchronized String getSignerEmail | ( | ) | throws SignDocException |
Get the email address from the signing certificate.
synchronized byte [] getSigningCertificate | ( | ) | throws SignDocException |
Get the signing certificate as DER-encoded blob.
synchronized String getTimeStamp | ( | ) | throws SignDocException |
Get the time stamp of the signature.
You have to use SignDocDocument.verifySignature() to find out whether the time stamp can be trusted.