pub struct ECPublicKey(/* private fields */);Expand description
A compressed elliptic curve digital signature algorithm (ECDSA) compressed public key.
Implementations§
Source§impl ECPublicKey
impl ECPublicKey
Trait Implementations§
Source§impl CBORTagged for ECPublicKey
impl CBORTagged for ECPublicKey
The CBOR tags assocated with this type. If more than one tag is present,
they are considered equivalent for reading, but only the first one is
used for writing.
Source§impl CBORTaggedEncodable for ECPublicKey
impl CBORTaggedEncodable for ECPublicKey
Source§fn untagged_cbor(&self) -> CBOR
fn untagged_cbor(&self) -> CBOR
Returns the untagged CBOR encoding of this instance.
Source§fn tagged_cbor(&self) -> CBOR
fn tagged_cbor(&self) -> CBOR
Returns the tagged CBOR encoding of this instance.
Source§impl Clone for ECPublicKey
impl Clone for ECPublicKey
Source§fn clone(&self) -> ECPublicKey
fn clone(&self) -> ECPublicKey
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 Debug for ECPublicKey
impl Debug for ECPublicKey
Source§impl Display for ECPublicKey
impl Display for ECPublicKey
Source§impl ECKey for ECPublicKey
impl ECKey for ECPublicKey
fn public_key(&self) -> ECPublicKey
Source§impl ECKeyBase for ECPublicKey
impl ECKeyBase for ECPublicKey
Source§impl ECPublicKeyBase for ECPublicKey
impl ECPublicKeyBase for ECPublicKey
fn uncompressed_public_key(&self) -> ECUncompressedPublicKey
Source§impl<'a> From<&'a ECPublicKey> for &'a [u8]
impl<'a> From<&'a ECPublicKey> for &'a [u8]
Source§fn from(value: &'a ECPublicKey) -> Self
fn from(value: &'a ECPublicKey) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a ECPublicKey> for &'a [u8; 33]
impl<'a> From<&'a ECPublicKey> for &'a [u8; 33]
Source§fn from(value: &'a ECPublicKey) -> Self
fn from(value: &'a ECPublicKey) -> Self
Converts to this type from the input type.
Source§impl From<ECPublicKey> for CBOR
impl From<ECPublicKey> for CBOR
Source§fn from(value: ECPublicKey) -> Self
fn from(value: ECPublicKey) -> Self
Converts to this type from the input type.
Source§impl Hash for ECPublicKey
impl Hash for ECPublicKey
Source§impl PartialEq for ECPublicKey
impl PartialEq for ECPublicKey
impl Eq for ECPublicKey
impl StructuralPartialEq for ECPublicKey
Auto Trait Implementations§
impl Freeze for ECPublicKey
impl RefUnwindSafe for ECPublicKey
impl Send for ECPublicKey
impl Sync for ECPublicKey
impl Unpin for ECPublicKey
impl UnwindSafe for ECPublicKey
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