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.SerializableNon-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 classAttestation.AttestationBuilder 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Attestation.AttestationBuilder.MandatoryStagesbuilder()static Attestationempty()booleanequals(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.inthashCode()booleanisTrusted()trueif and only if the contained information has been verified to be cryptographically supported by a trusted attestation root.Attestation.AttestationBuildertoBuilder()java.lang.StringtoString() 
 - 
 
- 
- 
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()
trueif 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:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -