public class VerificationOK extends Object
Modifier and Type | Field | Description |
---|---|---|
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 | Description |
---|---|
VerificationOK(X509Certificate certificate,
Class<? extends CertificateVerifier> verifierClass,
String message) |
Creates a VerificationOK object
|
Modifier and Type | Method | Description |
---|---|---|
String |
toString() |
A single String explaining which certificate was verified, how and why.
|
protected X509Certificate certificate
protected Class<? extends CertificateVerifier> verifierClass
protected String message
public VerificationOK(X509Certificate certificate, Class<? extends CertificateVerifier> verifierClass, String message)
certificate
- the certificate that was successfully verifiedverifierClass
- the class that was used for verificationmessage
- the reason why the certificate could be verifiedpublic String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.