class VerificationOK {

    public String toString() {
        StringBuilder sb = new StringBuilder();
        if (certificate != null) {
            sb.append(certificate.getSubjectDN().getName());
            sb.append(" verified with ");
        }
        sb.append(verifierClass.getName());
        sb.append(": ");
        sb.append(message);
        return sb.toString();
    }

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

}