pub struct GcpKmsStore;Trait Implementations§
Source§impl Debug for GcpKmsStore
impl Debug for GcpKmsStore
Source§impl KeyStore for GcpKmsStore
impl KeyStore for GcpKmsStore
fn generate(&self, _spec: &KeySpec) -> Result<(Vec<u8>, Vec<u8>), JacsError>
Source§fn load_private(&self) -> Result<LockedVec, JacsError>
fn load_private(&self) -> Result<LockedVec, JacsError>
Load the private key material. Returns
LockedVec so that bytes remain
mlock’d (pinned to RAM, excluded from core dumps) for the caller’s
entire usage lifetime.fn load_public(&self) -> Result<Vec<u8>, JacsError>
fn sign_detached( &self, _private_key: &[u8], _message: &[u8], _algorithm: &str, ) -> Result<Vec<u8>, JacsError>
Auto Trait Implementations§
impl Freeze for GcpKmsStore
impl RefUnwindSafe for GcpKmsStore
impl Send for GcpKmsStore
impl Sync for GcpKmsStore
impl Unpin for GcpKmsStore
impl UnsafeUnpin for GcpKmsStore
impl UnwindSafe for GcpKmsStore
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more