|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.faceless.pdf2.viewer2.feature.FormSignedSignatureWidgetFactory.SignatureState
public class FormSignedSignatureWidgetFactory.SignatureState
A SignatureState contains information about a Signature once it's been verified. This can be used to display information about the signatures in a popup window to the user.
| Method Summary | |
|---|---|
X509Certificate |
getCertificate()
Return the X.509 certificate that couldn't be verified, or null
if all the certificates passed or the signature isn't a PKCS#7 signature. |
Exception |
getException()
Return the exception that occurred when trying to verify the signature or certificate, or null if none was thrown |
String |
getReason()
Return the descriptive text describing the state |
FormSignature |
getSignature()
Return the signature itself |
Boolean |
getValidity()
Return the validity of the Signature, with true indicating good, false indicating bad and null meaning unknown. |
boolean |
isAlteredSince()
Return true of the PDF was altered since the signature was applied. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Boolean getValidity()
public String getReason()
public boolean isAlteredSince()
getValidity() returns true.
public X509Certificate getCertificate()
null
if all the certificates passed or the signature isn't a PKCS#7 signature.
public Exception getException()
null if none was thrown
public FormSignature getSignature()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||