Skip to main content

parse_multikey

Function parse_multikey 

Source
pub fn parse_multikey(raw: &str) -> Result<ParsedMultikey, IdentityError>
Expand description

Parses a multikey string into a verifying key.

Accepts either a bare base58btc multibase string (z…) or a did:key:z… form. The latter is how PLC audit logs and some DID documents surface verification methods, so stripping the prefix here means every caller can stay agnostic to the wire shape.