MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / keypair

Method keypair

atomic-identity/src/identity.rs:489–492  ·  view source on GitHub ↗

Use an existing keypair.

(mut self, keypair: KeyPair)

Source from the content-addressed store, hash-verified

487
488 /// Use an existing keypair.
489 pub fn keypair(mut self, keypair: KeyPair) -> Self {
490 self.keypair = Some(keypair);
491 self
492 }
493
494 /// Use an existing public key (verification-only identity).
495 pub fn public_key(mut self, public_key: PublicKey) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected