Use an existing public key (verification-only identity).
(mut self, public_key: PublicKey)
| 493 | |
| 494 | /// Use an existing public key (verification-only identity). |
| 495 | pub fn public_key(mut self, public_key: PublicKey) -> Self { |
| 496 | self.public_key = Some(public_key); |
| 497 | self |
| 498 | } |
| 499 | |
| 500 | /// Build the identity, generating a keypair if needed. |
| 501 | pub fn build(self) -> Result<Identity, IdentityError> { |
nothing calls this directly
no outgoing calls
no test coverage detected