pub trait HmacSha512: CryptoClient {
// Provided methods
fn hmacsha512_derive_key(
&mut self,
base_key: KeyId,
message: &[u8],
persistence: Location,
) -> ClientResult<'_, DeriveKey, Self> { ... }
fn sign_hmacsha512<'c>(
&'c mut self,
key: KeyId,
message: &[u8],
) -> ClientResult<'c, Sign, Self> { ... }
}Available on crate features
crypto-client and hmac-sha512 only.Provided Methods§
fn hmacsha512_derive_key( &mut self, base_key: KeyId, message: &[u8], persistence: Location, ) -> ClientResult<'_, DeriveKey, Self>
fn sign_hmacsha512<'c>( &'c mut self, key: KeyId, message: &[u8], ) -> ClientResult<'c, Sign, Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.