Struct oasis_runtime_sdk::storage::confidential::ConfidentialStore
source · pub struct ConfidentialStore<S: Store> { /* private fields */ }
Expand description
A key-value store that encrypts all content with DeoxysII.
Implementations§
source§impl<S: Store> ConfidentialStore<S>
impl<S: Store> ConfidentialStore<S>
sourcepub fn new_with_key(inner: S, key: [u8; 32], value_context: &[&[u8]]) -> Self
pub fn new_with_key(inner: S, key: [u8; 32], value_context: &[&[u8]]) -> Self
Create a new confidential store with the given keypair.
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for ConfidentialStore<S>where
S: Freeze,
impl<S> RefUnwindSafe for ConfidentialStore<S>where
S: RefUnwindSafe,
impl<S> Send for ConfidentialStore<S>where
S: Send,
impl<S> Sync for ConfidentialStore<S>where
S: Sync,
impl<S> Unpin for ConfidentialStore<S>where
S: Unpin,
impl<S> UnwindSafe for ConfidentialStore<S>where
S: UnwindSafe,
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