Class X509CertificateReviewer.Review

  • Enclosing class:
    X509CertificateReviewer

    public static class X509CertificateReviewer.Review
    extends java.lang.Object
    The outcome of a review: the list of findings, plus the recovered certificate when the structure decoded cleanly.
    • Method Detail

      • isValid

        public boolean isValid()
        Returns:
        true if no ERROR-severity findings were recorded.
      • getFindings

        public java.util.List getFindings()
        Returns:
        an unmodifiable list of all findings, in the order they were found (empty if the certificate decoded cleanly).
      • hasCertificate

        public boolean hasCertificate()
        Returns:
        true if a certificate could be recovered (only when there are no ERROR findings).
      • getCertificate

        public X509CertificateHolder getCertificate()
        Returns:
        the recovered certificate, or null if any component failed to decode.