|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.ri.common.utility.signatures.SigVerificationTask
public class SigVerificationTask
This class is a utility for verifying signature annotations off the AWT thread. The are two main sub classes VerifyAllSignatures and VerifySignature. The RI uses both of these methods for validating all signatures and refreshing an individual signature annotation state.
| Constructor Summary | |
|---|---|
SigVerificationTask(SignaturesPanel signaturesPanel,
SwingController controller,
java.util.ResourceBundle messageBundle)
Creates a new instance of the SigVerificationTask. |
|
| Method Summary | |
|---|---|
int |
getCurrent()
Gets the signature number that is currently being validated by this task. |
int |
getLengthOfTask()
Number of signatures that has tobe validated. |
java.lang.String |
getMessage()
Returns the most recent dialog message, or null if there is no current dialog message. |
boolean |
isCurrentlyVerifying()
|
boolean |
isDone()
Find out if the task has completed. |
void |
stop()
Stop the task. |
void |
verifyAllSignatures()
Start the task, start verifying all the signatures annotations. |
void |
verifySignature(org.icepdf.core.pobjects.annotations.SignatureWidgetAnnotation signatureWidgetAnnotation,
SignatureTreeNode signatureTreeNode)
Start the task, verify the specified signature annotation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SigVerificationTask(SignaturesPanel signaturesPanel,
SwingController controller,
java.util.ResourceBundle messageBundle)
signaturesPanel - parent signature panel that start this task via an actioncontroller - root controller objectmessageBundle - message bundle used for dialog text.| Method Detail |
|---|
public void verifyAllSignatures()
public void verifySignature(org.icepdf.core.pobjects.annotations.SignatureWidgetAnnotation signatureWidgetAnnotation,
SignatureTreeNode signatureTreeNode)
public int getLengthOfTask()
public int getCurrent()
public void stop()
public boolean isDone()
public boolean isCurrentlyVerifying()
public java.lang.String getMessage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||