Package com.yubico.fido.metadata
Class MetadataBLOBPayload.MetadataBLOBPayloadBuilder
java.lang.Object
com.yubico.fido.metadata.MetadataBLOBPayload.MetadataBLOBPayloadBuilder
- Enclosing class:
- MetadataBLOBPayload
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
entries
(@NonNull Set<MetadataBLOBPayloadEntry> entries) Zero or moreMetadataBLOBPayloadEntry
objects.legalHeader
(String legalHeader) The legalHeader, which MUST be in each BLOB, is an indication of the acceptance of the relevant legal agreement for using the MDS.nextUpdate
(@NonNull LocalDate nextUpdate) ISO-8601 formatted date when the next update will be provided at latest.no
(int no) The serial number of this Metadata BLOB Payload.toString()
-
Method Details
-
legalHeader
The legalHeader, which MUST be in each BLOB, is an indication of the acceptance of the relevant legal agreement for using the MDS.- Returns:
this
.- See Also:
-
no
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.- Returns:
this
.- See Also:
-
nextUpdate
public MetadataBLOBPayload.MetadataBLOBPayloadBuilder nextUpdate(@NonNull @NonNull LocalDate nextUpdate) ISO-8601 formatted date when the next update will be provided at latest.- Returns:
this
.- See Also:
-
entries
public MetadataBLOBPayload.MetadataBLOBPayloadBuilder entries(@NonNull @NonNull Set<MetadataBLOBPayloadEntry> entries) Zero or moreMetadataBLOBPayloadEntry
objects.- Returns:
this
.- See Also:
-
build
-
toString
-