pub struct ECDSASHA256CurveP256PublicKey(pub [u8; 65]);
Expand description
A Curve P-256 Public Key that is only used for ECDSA SHA256 signatures.
This type only supports the uncompressed form which is 65 bytes and has the first byte - 0x04. The uncompressed form is defined here in section 2.3.3.
Tuple Fields§
§0: [u8; 65]
Trait Implementations§
source§impl Clone for ECDSASHA256CurveP256PublicKey
impl Clone for ECDSASHA256CurveP256PublicKey
source§fn clone(&self) -> ECDSASHA256CurveP256PublicKey
fn clone(&self) -> ECDSASHA256CurveP256PublicKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'bytes, Ctx> Decode<'bytes, Ctx> for ECDSASHA256CurveP256PublicKey
impl<'bytes, Ctx> Decode<'bytes, Ctx> for ECDSASHA256CurveP256PublicKey
source§impl<Ctx> Encode<Ctx> for ECDSASHA256CurveP256PublicKey
impl<Ctx> Encode<Ctx> for ECDSASHA256CurveP256PublicKey
source§impl PartialEq for ECDSASHA256CurveP256PublicKey
impl PartialEq for ECDSASHA256CurveP256PublicKey
source§fn eq(&self, other: &ECDSASHA256CurveP256PublicKey) -> bool
fn eq(&self, other: &ECDSASHA256CurveP256PublicKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ECDSASHA256CurveP256PublicKey
impl StructuralEq for ECDSASHA256CurveP256PublicKey
impl StructuralPartialEq for ECDSASHA256CurveP256PublicKey
Auto Trait Implementations§
impl RefUnwindSafe for ECDSASHA256CurveP256PublicKey
impl Send for ECDSASHA256CurveP256PublicKey
impl Sync for ECDSASHA256CurveP256PublicKey
impl Unpin for ECDSASHA256CurveP256PublicKey
impl UnwindSafe for ECDSASHA256CurveP256PublicKey
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more