Package com.yubico.webauthn.attestation
Class Attestation
- java.lang.Object
-
- com.yubico.webauthn.attestation.Attestation
-
- All Implemented Interfaces:
java.io.Serializable
public final class Attestation extends java.lang.Object implements java.io.Serializable
Non-standardized representation of partly free-form information about an authenticator device.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attestation.AttestationBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Attestation.AttestationBuilder.MandatoryStages
builder()
static Attestation
empty()
boolean
equals(java.lang.Object o)
java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>
getDeviceProperties()
Free-form information about the authenticator model.java.util.Optional<java.lang.String>
getMetadataIdentifier()
A unique identifier for a particular version of the data source of the data in this object.java.util.Optional<java.util.Set<Transport>>
getTransports()
The set of communication modes supported by the authenticator.java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>
getVendorProperties()
Free-form information about the authenticator vendor.int
hashCode()
boolean
isTrusted()
true
if and only if the contained information has been verified to be cryptographically supported by a trusted attestation root.Attestation.AttestationBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getMetadataIdentifier
public java.util.Optional<java.lang.String> getMetadataIdentifier()
A unique identifier for a particular version of the data source of the data in this object.
-
getVendorProperties
public java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> getVendorProperties()
Free-form information about the authenticator vendor.
-
getDeviceProperties
public java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> getDeviceProperties()
Free-form information about the authenticator model.
-
getTransports
public java.util.Optional<java.util.Set<Transport>> getTransports()
The set of communication modes supported by the authenticator.
-
empty
public static Attestation empty()
-
builder
public static Attestation.AttestationBuilder.MandatoryStages builder()
-
toBuilder
public Attestation.AttestationBuilder toBuilder()
-
isTrusted
public boolean isTrusted()
true
if and only if the contained information has been verified to be cryptographically supported by a trusted attestation root.
-
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
-
-