(public_key_bytes: &[u8])
| 97 | /// The key's base32 form — what atomic writes as the `kid` of its tokens. |
| 98 | #[wasm_bindgen(js_name = publicKeyBase32)] |
| 99 | pub fn public_key_base32(public_key_bytes: &[u8]) -> Result<String, JsError> { |
| 100 | Ok(public_key(public_key_bytes)?.to_base32()) |
| 101 | } |
| 102 | |
| 103 | /// RFC 8785 canonical JSON of `document` — the bytes atomic hashes and signs. |
| 104 | #[wasm_bindgen] |
nothing calls this directly
no test coverage detected