pub(super) fn content_format(
protected_header: &ProtectedHeader,
) -> Result<String, EncodingError>Expand description
Helper function to extract the content type from a ProtectedHeader. The content type is a
standardized header set on the protected headers of the signature object. Currently we only
support registered values, but PrivateUse values are also allowed in the COSE specification.