pub struct P256PublicKey { /* private fields */ }Implementations§
Source§impl P256PublicKey
impl P256PublicKey
pub fn from_x_y(x: &[u8; 32], y: &[u8; 32]) -> Result<P256PublicKey, Error>
pub fn from_bytes(public_key: &[u8]) -> Result<P256PublicKey, Error>
Trait Implementations§
Source§impl From<&P256PublicKey> for Jwk
impl From<&P256PublicKey> for Jwk
Source§fn from(key: &P256PublicKey) -> Self
fn from(key: &P256PublicKey) -> Self
Converts to this type from the input type.
Source§impl From<PublicKey> for P256PublicKey
impl From<PublicKey> for P256PublicKey
Auto Trait Implementations§
impl Freeze for P256PublicKey
impl RefUnwindSafe for P256PublicKey
impl Send for P256PublicKey
impl Sync for P256PublicKey
impl Unpin for P256PublicKey
impl UnsafeUnpin for P256PublicKey
impl UnwindSafe for P256PublicKey
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