Package com.yubico.fido.metadata
Class StatusReport
- java.lang.Object
-
- com.yubico.fido.metadata.StatusReport
-
public final class StatusReport extends java.lang.Object
Contains anAuthenticatorStatus
and additional data associated with it, if any.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StatusReport.StatusReportBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatusReport.StatusReportBuilder
builder()
boolean
equals(java.lang.Object o)
java.util.Optional<java.lang.Long>
getAuthenticatorVersion()
java.util.Optional<java.security.cert.X509Certificate>
getCertificate()
java.util.Optional<java.lang.String>
getCertificateNumber()
java.util.Optional<java.lang.String>
getCertificationDescriptor()
java.util.Optional<java.lang.String>
getCertificationPolicyVersion()
java.util.Optional<java.lang.String>
getCertificationRequirementsVersion()
java.util.Optional<java.time.LocalDate>
getEffectiveDate()
@NonNull AuthenticatorStatus
getStatus()
java.util.Optional<java.net.URL>
getUrl()
Attempt to parse theurl
property, if any, as aURL
.java.util.Optional<java.lang.String>
getUrlAsString()
Get the rawurl
property of thisStatusReport
object.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getEffectiveDate
public java.util.Optional<java.time.LocalDate> getEffectiveDate()
-
getAuthenticatorVersion
public java.util.Optional<java.lang.Long> getAuthenticatorVersion()
-
getCertificate
public java.util.Optional<java.security.cert.X509Certificate> getCertificate()
-
getUrl
public java.util.Optional<java.net.URL> getUrl()
Attempt to parse theurl
property, if any, as aURL
.- Returns:
- A present value if and only if
getUrlAsString()
is present and a valid URL.
-
getUrlAsString
public java.util.Optional<java.lang.String> getUrlAsString()
Get the rawurl
property of thisStatusReport
object. This may or may not be a valid URL.
-
getCertificationDescriptor
public java.util.Optional<java.lang.String> getCertificationDescriptor()
-
getCertificateNumber
public java.util.Optional<java.lang.String> getCertificateNumber()
-
getCertificationPolicyVersion
public java.util.Optional<java.lang.String> getCertificationPolicyVersion()
-
getCertificationRequirementsVersion
public java.util.Optional<java.lang.String> getCertificationRequirementsVersion()
-
builder
public static StatusReport.StatusReportBuilder builder()
-
getStatus
@NonNull public @NonNull AuthenticatorStatus getStatus()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-