Keyset ID version byte (-1 for base64 or unparseable IDs).
Verifies that the keyset's ID matches the derived ID from its keys, unit, and expiry.
True if verification succeeds, false otherwise (e.g: no keys or mismatch).
StaticfromCreate a Keyset from Mint API DTOs.
The MintKeyset metadata from GetKeysetsResponse.
Optionalkeys: MintKeysThe MintKeys from GetKeysResponse.
Keyset instance.
StaticverifyVerifies that a MintKeys DTO has a correct id for its keys/unit/expiry.
True if verification succeeds, false otherwise (e.g: no keys, too many keys, one key serving two denominations, or mismatch).
True if the ID is modern byte-encoded hex.