Trait fuel_crypto::Keystore
source · [−]pub trait Keystore {
type Error: From<Error>;
type KeyId;
fn public(
&self,
id: Self::KeyId
) -> Result<Borrown<'_, PublicKey>, Self::Error>;
fn secret(
&self,
id: Self::KeyId
) -> Result<Borrown<'_, SecretKey>, Self::Error>;
}
Expand description
Keys container
Associated Types
Required methods
Public key for a given id