Package com.itextpdf.text.pdf.security
Class VerificationOK
- java.lang.Object
-
- com.itextpdf.text.pdf.security.VerificationOK
-
public class VerificationOK extends java.lang.Object
Class that informs you that the verification of a Certificate succeeded using a specific CertificateVerifier and for a specific reason.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.security.cert.X509Certificate
certificate
The certificate that was verified successfully.protected java.lang.String
message
The reason why the certificate verified successfully.protected java.lang.Class<? extends CertificateVerifier>
verifierClass
The CertificateVerifier that was used for verifying.
-
Constructor Summary
Constructors Constructor Description VerificationOK(java.security.cert.X509Certificate certificate, java.lang.Class<? extends CertificateVerifier> verifierClass, java.lang.String message)
Creates a VerificationOK object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
A single String explaining which certificate was verified, how and why.
-
-
-
Field Detail
-
certificate
protected java.security.cert.X509Certificate certificate
The certificate that was verified successfully.
-
verifierClass
protected java.lang.Class<? extends CertificateVerifier> verifierClass
The CertificateVerifier that was used for verifying.
-
message
protected java.lang.String message
The reason why the certificate verified successfully.
-
-
Constructor Detail
-
VerificationOK
public VerificationOK(java.security.cert.X509Certificate certificate, java.lang.Class<? extends CertificateVerifier> verifierClass, java.lang.String message)
Creates a VerificationOK object- Parameters:
certificate
- the certificate that was successfully verifiedverifierClass
- the class that was used for verificationmessage
- the reason why the certificate could be verified
-
-