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