Class X509CertificateReviewer.Review

java.lang.Object
org.bouncycastle.cert.X509CertificateReviewer.Review
Enclosing class:
X509CertificateReviewer

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

    • isValid

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

      public 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.