pub struct KeyProvider { /* private fields */ }Implementations§
Source§impl KeyProvider
impl KeyProvider
pub fn set_sif_trailer(&self, trailer: Vec<u8>)
pub fn set_key( &self, participant_id: String, key_index: i32, key: Vec<u8>, ) -> bool
pub fn ratchet_key( &self, participant_id: String, key_index: i32, ) -> Result<Vec<u8>, Exception>
pub fn get_key( &self, participant_id: String, key_index: i32, ) -> Result<Vec<u8>, Exception>
Trait Implementations§
Source§impl ExternType for KeyProvider
impl ExternType for KeyProvider
impl Send for KeyProvider
impl Sync for KeyProvider
Auto Trait Implementations§
impl !Freeze for KeyProvider
impl RefUnwindSafe for KeyProvider
impl !Unpin for KeyProvider
impl UnwindSafe for KeyProvider
Blanket Implementations§
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