public class VerifyResultImpl extends Object implements VerifyResult
Constructor and Description |
---|
VerifyResultImpl() |
Modifier and Type | Method and Description |
---|---|
SignatureCheck |
getCertificateCheck()
Returns the result of the certificate check.
|
SignatureCheck |
getManifestCheckCode()
Returns the result of the manifest check.
|
byte[] |
getSignatureData()
Gets the signed data for the signature
|
iaik.x509.X509Certificate |
getSignerCertificate()
Gets the signer certificate
|
SignatureCheck |
getValueCheckCode()
Returns the result of the value (and hash) check.
|
at.gv.egiz.pdfas.common.exceptions.PdfAsException |
getVerificationException()
Returns a verification exception if any.
|
boolean |
isQualifiedCertificate()
Returns true, if the signer's certificate is a qualified certificate.
|
boolean |
isVerificationDone()
Returns if the verification was possible or could not even be startet.
|
void |
setCertificateCheck(SignatureCheck certificateCheck) |
void |
setManifestCheckCode(SignatureCheck manifestCheck) |
void |
setQualifiedCertificate(boolean value) |
void |
setSignatureData(byte[] signaturData) |
void |
setSignerCertificate(iaik.x509.X509Certificate signerCertificate) |
void |
setValueCheckCode(SignatureCheck valueCheck) |
void |
setVerificationDone(boolean value) |
void |
setVerificationException(at.gv.egiz.pdfas.common.exceptions.PdfAsException e) |
public boolean isVerificationDone()
VerifyResult
VerifyResult.getVerificationException()
for details.isVerificationDone
in interface VerifyResult
public void setVerificationDone(boolean value)
public at.gv.egiz.pdfas.common.exceptions.PdfAsException getVerificationException()
VerifyResult
VerifyResult.isVerificationDone()
.getVerificationException
in interface VerifyResult
public void setVerificationException(at.gv.egiz.pdfas.common.exceptions.PdfAsException e)
public SignatureCheck getCertificateCheck()
VerifyResult
getCertificateCheck
in interface VerifyResult
public void setCertificateCheck(SignatureCheck certificateCheck)
public SignatureCheck getValueCheckCode()
VerifyResult
getValueCheckCode
in interface VerifyResult
public void setValueCheckCode(SignatureCheck valueCheck)
public SignatureCheck getManifestCheckCode()
VerifyResult
getManifestCheckCode
in interface VerifyResult
public void setManifestCheckCode(SignatureCheck manifestCheck)
public boolean isQualifiedCertificate()
VerifyResult
isQualifiedCertificate
in interface VerifyResult
public void setQualifiedCertificate(boolean value)
public iaik.x509.X509Certificate getSignerCertificate()
VerifyResult
getSignerCertificate
in interface VerifyResult
public void setSignerCertificate(iaik.x509.X509Certificate signerCertificate)
public void setSignatureData(byte[] signaturData)
public byte[] getSignatureData()
VerifyResult
getSignatureData
in interface VerifyResult