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 Debug for ParsedPublicKey
impl Debug 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.
impl Send for ParsedPublicKey
impl Sync for ParsedPublicKey
Auto Trait Implementations§
impl Freeze for ParsedPublicKey
impl RefUnwindSafe for ParsedPublicKey
impl Unpin 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