com.itextpdf.text.pdf.security
Class VerificationOK

java.lang.Object
  extended by com.itextpdf.text.pdf.security.VerificationOK

public class VerificationOK
extends Object

Class that informs you that the verification of a Certificate succeeded using a specific CertificateVerifier and for a specific reason.


Field Summary
protected  X509Certificate certificate
          The certificate that was verified successfully.
protected  String message
          The reason why the certificate verified successfully.
protected  Class<? extends CertificateVerifier> verifierClass
          The CertificateVerifier that was used for verifying.
 
Constructor Summary
VerificationOK(X509Certificate certificate, Class<? extends CertificateVerifier> verifierClass, String message)
          Creates a VerificationOK object
 
Method Summary
 String toString()
          A single String explaining which certificate was verified, how and why.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

certificate

protected X509Certificate certificate
The certificate that was verified successfully.


verifierClass

protected Class<? extends CertificateVerifier> verifierClass
The CertificateVerifier that was used for verifying.


message

protected String message
The reason why the certificate verified successfully.

Constructor Detail

VerificationOK

public VerificationOK(X509Certificate certificate,
                      Class<? extends CertificateVerifier> verifierClass,
                      String message)
Creates a VerificationOK object

Parameters:
certificate - the certificate that was successfully verified
verifierClass - the class that was used for verification
message - the reason why the certificate could be verified
Method Detail

toString

public String toString()
A single String explaining which certificate was verified, how and why.

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2013. All Rights Reserved.