pub struct KeyManagerClientWithContext { /* private fields */ }
Expand description
Convenience wrapper around an existing KeyManagerClient instance which uses a default io context for all calls.
Trait Implementations§
source§impl Clone for KeyManagerClientWithContext
impl Clone for KeyManagerClientWithContext
source§fn clone(&self) -> KeyManagerClientWithContext
fn clone(&self) -> KeyManagerClientWithContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl KeyManager for KeyManagerClientWithContext
impl KeyManager for KeyManagerClientWithContext
source§fn clear_cache(&self)
fn clear_cache(&self)
Clear local key cache. Read more
source§fn get_or_create_keys(
&self,
key_pair_id: KeyPairId,
) -> Result<KeyPair, KeyManagerError>
fn get_or_create_keys( &self, key_pair_id: KeyPairId, ) -> Result<KeyPair, KeyManagerError>
Get or create named key pair. Read more
source§fn get_public_key(
&self,
key_pair_id: KeyPairId,
) -> Result<SignedPublicKey, KeyManagerError>
fn get_public_key( &self, key_pair_id: KeyPairId, ) -> Result<SignedPublicKey, KeyManagerError>
Get public key for a key pair id. Read more
source§fn get_or_create_ephemeral_keys(
&self,
key_pair_id: KeyPairId,
epoch: EpochTime,
) -> Result<KeyPair, KeyManagerError>
fn get_or_create_ephemeral_keys( &self, key_pair_id: KeyPairId, epoch: EpochTime, ) -> Result<KeyPair, KeyManagerError>
Get or create named ephemeral key pair for given epoch. Read more
source§fn get_public_ephemeral_key(
&self,
key_pair_id: KeyPairId,
epoch: EpochTime,
) -> Result<SignedPublicKey, KeyManagerError>
fn get_public_ephemeral_key( &self, key_pair_id: KeyPairId, epoch: EpochTime, ) -> Result<SignedPublicKey, KeyManagerError>
Get ephemeral public key for an epoch and a key pair id. Read more
fn box_clone(&self) -> Box<dyn KeyManager>
Auto Trait Implementations§
impl Freeze for KeyManagerClientWithContext
impl !RefUnwindSafe for KeyManagerClientWithContext
impl Send for KeyManagerClientWithContext
impl Sync for KeyManagerClientWithContext
impl Unpin for KeyManagerClientWithContext
impl !UnwindSafe for KeyManagerClientWithContext
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)