Skip to main content

Module helpers

Module helpers 

Source

Enumsยง

ExtractionError ๐Ÿ”’

Functionsยง

debug_fmt ๐Ÿ”’
extract_contained_key_id ๐Ÿ”’
Extract the contained key ID from a COSE header, if present.
extract_safe_content_namespace ๐Ÿ”’
extract_safe_object_namespace ๐Ÿ”’
set_header_value ๐Ÿ”’
set_safe_namespaces ๐Ÿ”’
validate_safe_namespaces ๐Ÿ”’
Validates the provided header contains the expected object and content namespace. For backward compatibility, missing values are OK, but incorrect values are not. The validation happens individually for both namespace layers, and either one missing with the other being present is OK.