Trait fuel_crypto::Keystore
source · [−]pub trait Keystore {
type Error: From<Error>;
type KeyId;
fn secret(
&self,
id: &Self::KeyId
) -> Result<Option<Borrown<'_, SecretKey>>, Self::Error>;
fn public(
&self,
id: &Self::KeyId
) -> Result<Option<Borrown<'_, PublicKey>>, Self::Error> { ... }
}
Expand description
Keys container