public class KeyStoreSignatureProvider.X509SignatureState extends SignatureProvider.SignatureState
Constructor and Description |
---|
X509SignatureState(FormSignature sig,
Boolean validity,
String reason,
boolean alteredsince,
Exception exception,
X509Certificate cert)
Create a new X509SignatureState
|
Modifier and Type | Method and Description |
---|---|
X509Certificate |
getCertificate()
Return the X.509 Certificate from the SignatureState
|
getException, getIcon, getReason, getSignature, getSignatureProvider, getValidity, isAlteredSince
public X509SignatureState(FormSignature sig, Boolean validity, String reason, boolean alteredsince, Exception exception, X509Certificate cert)
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 signaturepublic X509Certificate getCertificate()
Copyright © 2001-2017 Big Faceless Organization