Build a signer for a keypair using the in-tree `did:atomic` method.
(keypair: &KeyPair)
| 229 | impl BindingSigner { |
| 230 | /// Build a signer for a keypair using the in-tree `did:atomic` method. |
| 231 | pub fn for_keypair(keypair: &KeyPair) -> Self { |
| 232 | Self { |
| 233 | did: atomic_canonical::did::did_for_public_key(&keypair.public), |
| 234 | verifying_key: *keypair.public.as_bytes(), |
| 235 | } |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | /// The unsigned V1 binding payload: every field except signature and id. |
nothing calls this directly
no test coverage detected