org.faceless.pdf2.viewer2.feature
Class KeyStoreSignatureProvider.X509SignatureState
java.lang.Object
org.faceless.pdf2.viewer2.SignatureProvider.SignatureState
org.faceless.pdf2.viewer2.feature.KeyStoreSignatureProvider.X509SignatureState
- Enclosing class:
- KeyStoreSignatureProvider
public class KeyStoreSignatureProvider.X509SignatureState
- extends SignatureProvider.SignatureState
A subclass of SignatureState that references an X.509 Certificate.
This class is used internally by the KeyStoreSignatureProvider and there's no need to
reference it directly unless you're extending it.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyStoreSignatureProvider.X509SignatureState
public KeyStoreSignatureProvider.X509SignatureState(FormSignature sig,
Boolean validity,
String reason,
boolean alteredsince,
Exception exception,
X509Certificate cert)
- Create a new X509SignatureState
- Parameters:
sig - the signaturevalidity - Boolean.TRUE, Boolean.FALSE or null to indicate the signature is valid, invalid or hasn't be validatedreason - the reason for signingalteredsince - whether the PDF has been altered since the signature was appliedexception - the exception encountered during verification, or null if it succeededcert - the X.509 Certificate from the signature
getCertificate
public X509Certificate getCertificate()
- Return the X.509 Certificate from the SignatureState
Copyright © 2001-2013 Big Faceless Organization