Skip to main content

method_key

Function method_key 

Source
pub fn method_key(vm: &Map<String, Value>, algorithm: &str) -> Result<Vec<u8>>
Expand description

The raw key of one verification method, checked strictly (the method’s type, one kind of key material, the algorithm, the strict decoding), with no rule about the document it sits in: for display and tooling that lists a document’s keys. A proof’s key comes from assertion_key.