Trait tor_keymgr::key_specifier::KeySpecifier
source · pub trait KeySpecifier {
// Required methods
fn arti_path(&self) -> StdResult<ArtiPath, ArtiPathUnavailableError>;
fn ctor_path(&self) -> Option<CTorPath>;
}
Expand description
The “specifier” of a key, which identifies an instance of a key.
KeySpecifier::arti_path()
should uniquely identify an instance of a key.
Required Methods§
sourcefn arti_path(&self) -> StdResult<ArtiPath, ArtiPathUnavailableError>
fn arti_path(&self) -> StdResult<ArtiPath, ArtiPathUnavailableError>
The location of the key in the Arti key store.
This also acts as a unique identifier for a specific key instance.