pub struct OwnerSigningKeyPair { /* private fields */ }Implementations§
Source§impl OwnerSigningKeyPair
impl OwnerSigningKeyPair
pub fn generate() -> Result<OwnerSigningKeyPair, Error>
pub fn from_private_key_record( private_key_bytes: SecureVec, ) -> Result<OwnerSigningKeyPair, Error>
pub fn private_key_record(&self) -> Result<SecureVec, Error>
pub fn public_key(&self) -> OwnerSigningPublicKey
Sourcepub fn try_clone(&self) -> Result<OwnerSigningKeyPair, Error>
pub fn try_clone(&self) -> Result<OwnerSigningKeyPair, Error>
Clone this signing keypair into a new secure allocation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OwnerSigningKeyPair
impl RefUnwindSafe for OwnerSigningKeyPair
impl Send for OwnerSigningKeyPair
impl Sync for OwnerSigningKeyPair
impl Unpin for OwnerSigningKeyPair
impl UnsafeUnpin for OwnerSigningKeyPair
impl UnwindSafe for OwnerSigningKeyPair
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