Class FidoMetadataDownloader.FidoMetadataDownloaderBuilder.Step4

java.lang.Object
com.yubico.fido.metadata.FidoMetadataDownloader.FidoMetadataDownloaderBuilder.Step4
Enclosing class:
FidoMetadataDownloader.FidoMetadataDownloaderBuilder

public static class FidoMetadataDownloader.FidoMetadataDownloaderBuilder.Step4 extends Object
Step 4: Configure how to fetch the FIDO Metadata Service metadata BLOB.

This step offers three mutually exclusive options:

  1. Use the default download URL. This is the main intended use case. See useDefaultBlob().
  2. Use a custom download URL. This is for future-proofing in case the BLOB download URL changes and there is no new release of this library. See downloadBlob(URL).
  3. Use a pre-retrieved BLOB. The signature will still be verified, but it is up to you to renew it when appropriate and perform any caching as desired. See useBlob(String).