Package org.bouncycastle.cert
Class X509CertificateReviewer.Review
- java.lang.Object
-
- org.bouncycastle.cert.X509CertificateReviewer.Review
-
- Enclosing class:
- X509CertificateReviewer
public static class X509CertificateReviewer.Review extends java.lang.ObjectThe outcome of a review: the list of findings, plus the recovered certificate when the structure decoded cleanly.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description X509CertificateHoldergetCertificate()java.util.ListgetFindings()booleanhasCertificate()booleanisValid()
-
-
-
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.
-
-