Struct crypto_wasi::PrivateKey
source · pub struct PrivateKey { /* private fields */ }
Expand description
crypto.KeyObject
for private (asymmetric) keys
Implementations§
source§impl PrivateKey
impl PrivateKey
pub fn export( &self, kind: PrivateKeyEncodingType, format: KeyEncodingFormat ) -> Result<Vec<u8>, CryptoErrno>
pub fn get_asymmetric_key_type(&self) -> &'static str
Auto Trait Implementations§
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
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