|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectat.gv.egiz.pdfas.api.verify.VerifyParameters
Parameter object that holds the verify parameters.
| Field Summary | |
protected DataSource |
document
The document to be verified. |
protected boolean |
returnHashInputData
Tells the signature device (e.g. |
protected boolean |
returnNonTextualObjects
|
protected String |
signatureDevice
The signature device to perform the actual signature. |
protected int |
signatureToVerify
The (zero based) index of the signature to verify. |
protected Date |
verificationTime
Allows to pass a VerificationTime to the verification device. |
protected String |
verifyMode
The mode of operation how the document is analyzed. |
| Constructor Summary | |
VerifyParameters()
|
|
| Method Summary | |
DataSource |
getDocument()
|
String |
getSignatureDevice()
|
int |
getSignatureToVerify()
|
Date |
getVerificationTime()
|
String |
getVerifyMode()
|
boolean |
isReturnHashInputData()
|
boolean |
isReturnNonTextualObjects()
|
void |
setDocument(DataSource document)
|
void |
setReturnHashInputData(boolean returnHashInputData)
|
void |
setReturnNonTextualObjects(boolean returnNonTextualObjects)
Tells if non text object of the signed pdf should be extracted and returned. |
void |
setSignatureDevice(String signatureDevice)
|
void |
setSignatureToVerify(int signatureToVerify)
|
void |
setVerificationTime(Date verificationTime)
|
void |
setVerifyMode(String verifyMode)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected DataSource document
protected String signatureDevice
May be Constants.SIGNATURE_DEVICE_MOA or
Constants.SIGNATURE_DEVICE_BKU.
protected String verifyMode
May be Constants.VERIFY_MODE_BINARY_ONLY to check the document for
binary signatures only (very fast). Or may be
Constants.VERIFY_MODE_SEMI_CONSERVATIVE to perform a semi
conservative (optimized) text and binary verification (slow). Or may be
Constants.VERIFY_MODE_FULL_CONSERVATIVE to perform a full
conservative text and binary verification (very slow).
protected int signatureToVerify
This allows to verify only one found signature instead of all. Constants.VERIFY_ALL means to
verify all found signatures.
protected Date verificationTime
Note that the actual usage of this parameter depends on the verification device.
protected boolean returnHashInputData
Note that this forces MOA to return the potentially large signature data to be returned in the result XML, which may result in very bad performance.
protected boolean returnNonTextualObjects
| Constructor Detail |
public VerifyParameters()
| Method Detail |
public DataSource getDocument()
public void setDocument(DataSource document)
document - the document to setpublic String getSignatureDevice()
public void setSignatureDevice(String signatureDevice)
signatureDevice - the signatureDevice to setpublic String getVerifyMode()
public void setVerifyMode(String verifyMode)
verifyMode - the verifyMode to setpublic int getSignatureToVerify()
public void setSignatureToVerify(int signatureToVerify)
signatureToVerify - the signatureToVerify to setpublic Date getVerificationTime()
public void setVerificationTime(Date verificationTime)
verificationTime - the verificationTime to setpublic boolean isReturnHashInputData()
public void setReturnHashInputData(boolean returnHashInputData)
returnHashInputData - the returnHashInputData to setpublic boolean isReturnNonTextualObjects()
public void setReturnNonTextualObjects(boolean returnNonTextualObjects)
returnNonTextualObjects -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||