pub struct ParsedPublicKey { /* private fields */ }Expand description
A parsed public key for key agreement.
This represents a public key that has been successfully parsed and validated
from its encoded form. The key can be used with the agree function to
perform key agreement operations.
Implementations§
Source§impl ParsedPublicKey
A parsed public key for key agreement.
impl ParsedPublicKey
A parsed public key for key agreement.
Trait Implementations§
Source§impl AsRef<[u8]> for ParsedPublicKey
impl AsRef<[u8]> for ParsedPublicKey
Source§impl Clone for ParsedPublicKey
impl Clone for ParsedPublicKey
Source§impl Debug for ParsedPublicKey
impl Debug for ParsedPublicKey
impl Send for ParsedPublicKey
impl Sync for ParsedPublicKey
Source§impl<B: AsRef<[u8]>> TryFrom<&UnparsedPublicKey<B>> for ParsedPublicKey
impl<B: AsRef<[u8]>> TryFrom<&UnparsedPublicKey<B>> for ParsedPublicKey
Source§type Error = KeyRejected
type Error = KeyRejected
The type returned in the event of a conversion error.
Source§impl<B: AsRef<[u8]>> TryFrom<UnparsedPublicKey<B>> for ParsedPublicKey
impl<B: AsRef<[u8]>> TryFrom<UnparsedPublicKey<B>> for ParsedPublicKey
Source§type Error = KeyRejected
type Error = KeyRejected
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for ParsedPublicKey
impl Freeze for ParsedPublicKey
impl Move for ParsedPublicKey
impl RefUnwindSafe for ParsedPublicKey
impl Unpin for ParsedPublicKey
impl UnsafeUnpin for ParsedPublicKey
impl UnwindSafe for ParsedPublicKey
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