pub fn verify_still_role_format(
role: DerivativeRole,
format: &str,
) -> Result<Option<DerivativeFormat>, String>Expand description
The same closed-set check over a bare (role, format) pair — the key-free entry point.
verify_still_format takes a signed DerivativeManifest, which a key-free receiver
(the server’s upload gate) never holds: it sees the unencrypted envelope projection, which
declares the derivative’s role and format as two plain fields. Both entry points answer
identically for the same pair, because verify_still_format is this function applied to
the manifest’s own fields — there is one closed set and one check over it.
§Errors
An unrecognised still-role format is Err(format.to_string()), exactly as
verify_still_format reports it.