pub fn validate(license_key: &str) -> Result<ValidatedLicenseKey>Expand description
Validates license_key against the root public keys, falling back to the
intermediate JWT embedded in its header.
An intermediate JWT is signed by a root key and carries another public key
(see make_intermediate_jwt). A license key signed by that public key is
accepted while the intermediate JWT is not revoked. The result expires at
the earlier of the license key’s and the intermediate JWT’s expiration.