pub struct SpxKms { /* private fields */ }Expand description
SpxEf implements SPHINCS+ signing via Google CloudKms.
Implementations§
Trait Implementations§
Source§impl SpxInterface for SpxKms
impl SpxInterface for SpxKms
Source§fn get_version(&self) -> Result<String>
fn get_version(&self) -> Result<String>
Get the version of the backend.
Source§fn get_key_info(&self, alias: &str) -> Result<KeyInfo>
fn get_key_info(&self, alias: &str) -> Result<KeyInfo>
Get the public key info.
Source§fn generate_key(
&self,
alias: &str,
_algorithm: &str,
_token: &str,
flags: GenerateFlags,
) -> Result<KeyEntry>
fn generate_key( &self, alias: &str, _algorithm: &str, _token: &str, flags: GenerateFlags, ) -> Result<KeyEntry>
Generate a key pair.
Source§fn import_keypair(
&self,
_alias: &str,
_algorithm: &str,
_token: &str,
_overwrite: bool,
_public_key: &[u8],
_private_key: &[u8],
) -> Result<KeyEntry>
fn import_keypair( &self, _alias: &str, _algorithm: &str, _token: &str, _overwrite: bool, _public_key: &[u8], _private_key: &[u8], ) -> Result<KeyEntry>
Import a key pair.
Auto Trait Implementations§
impl Freeze for SpxKms
impl RefUnwindSafe for SpxKms
impl Send for SpxKms
impl Sync for SpxKms
impl Unpin for SpxKms
impl UnwindSafe for SpxKms
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