Package com.yubico.fido.metadata
Class MetadataBLOBPayload
- java.lang.Object
-
- com.yubico.fido.metadata.MetadataBLOBPayload
-
public final class MetadataBLOBPayload extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetadataBLOBPayload.MetadataBLOBPayloadBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadataBLOBPayload.MetadataBLOBPayloadBuilder
builder()
boolean
equals(java.lang.Object o)
@NonNull java.util.Set<MetadataBLOBPayloadEntry>
getEntries()
Zero or moreMetadataBLOBPayloadEntry
objects.java.lang.String
getLegalHeader()
The legalHeader, which MUST be in each BLOB, is an indication of the acceptance of the relevant legal agreement for using the MDS.@NonNull java.time.LocalDate
getNextUpdate()
ISO-8601 formatted date when the next update will be provided at latest.int
getNo()
The serial number of this Metadata BLOB Payload.int
hashCode()
MetadataBLOBPayload.MetadataBLOBPayloadBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static MetadataBLOBPayload.MetadataBLOBPayloadBuilder builder()
-
toBuilder
public MetadataBLOBPayload.MetadataBLOBPayloadBuilder toBuilder()
-
getLegalHeader
public java.lang.String getLegalHeader()
The legalHeader, which MUST be in each BLOB, is an indication of the acceptance of the relevant legal agreement for using the MDS.
-
getNo
public int getNo()
The serial number of this Metadata BLOB Payload. Serial numbers MUST be consecutive and strictly monotonic, i.e. the successor BLOB will have ano
value exactly incremented by one.
-
getNextUpdate
@NonNull public @NonNull java.time.LocalDate getNextUpdate()
ISO-8601 formatted date when the next update will be provided at latest.
-
getEntries
@NonNull public @NonNull java.util.Set<MetadataBLOBPayloadEntry> getEntries()
Zero or moreMetadataBLOBPayloadEntry
objects.
-
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
-
-