Class UnexpectedLegalHeader

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.yubico.fido.metadata.UnexpectedLegalHeader
All Implemented Interfaces:
Serializable

public class UnexpectedLegalHeader extends Exception
A FIDO Metadata Service metadata BLOB was successfully downloaded and validated, but contained an unexpected legal header.

This exception contains the offending downloaded metadata BLOB as well as the cached metadata BLOB, if any (see getCachedBlob()). This enables applications to gracefully fall back to the cached blob when possible, while notifying maintainers that action is required for the new legal header.

See Also: