pub fn parse_key_ring(json: &str) -> Result<KeyRing>
Parses a JSON string into a KeyRing.
KeyRing
The JSON string is expected to be an array of objects, each with a name and key field.
name
key