pub struct PublicKey {
pub x: [u8; 32],
pub y: [u8; 32],
}Expand description
U2F public key is the concatenation of 0x04 | x | y where 0x04 signifies ecc uncompressed.
Fields§
§x: [u8; 32]X coordinate of the ECC public key
y: [u8; 32]Y coordinate of the ECC public key
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PublicKey
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