Resolve a `did:atomic:` identifier to the identity that registered the fingerprinted key. Signed objects (attestations, delegations) carry only the signer's DID — `did:atomic: `, a one-way fingerprint — so verifying such an object means first recovering the key through the server. Authenticated like the name/email resolution (unlike `by-key`: holding a DID proves nothi
(&self, did: &str)
| 567 | /// the answer to verify a signature must not take it on faith. A |
| 568 | /// mismatch is an error, never a success. |
| 569 | pub async fn resolve_identity_by_did(&self, did: &str) -> Result<IdentityInfo, RemoteError> { |
| 570 | let info: IdentityInfo = self |
| 571 | .get(&format!("/identities/by-did/{}", urlencoding::encode(did))) |
| 572 | .await?; |
| 573 | verify_did_binding(did, &info)?; |
| 574 | Ok(info) |
| 575 | } |
| 576 | } |
| 577 | |
| 578 | /// Does the identity record a server returned actually belong to `did`? |
nothing calls this directly
no test coverage detected