Skip to main content

parse_signature_dict

Function parse_signature_dict 

Source
pub fn parse_signature_dict(raw: &str) -> Result<Vec<(String, Vec<u8>)>, Error>
Expand description

Parses the raw Signature: header into an ordered list of (label, signature-bytes) pairs.

ยงErrors

Returns Error::InvalidHeader on sf-dictionary parse failure and Error::MalformedSignatureHeader if any entry is not a byte-seq item.