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.
Helper function to extract the namespace from a ProtectedHeader. The namespace is stored
as a custom header value using the DATA_ENVELOPE_NAMESPACE label.