Struct bc_components::ECPublicKey
source · pub struct ECPublicKey(_);
Expand description
A compressed elliptic curve digital signature algorithm (ECDSA) compressed public key.
Implementations§
source§impl ECPublicKey
impl ECPublicKey
Trait Implementations§
source§impl CBOREncodable for ECPublicKey
impl CBOREncodable for ECPublicKey
source§impl CBORTagged for ECPublicKey
impl CBORTagged for ECPublicKey
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 Hash for ECPublicKey
impl Hash for ECPublicKey
source§impl PartialEq<ECPublicKey> for ECPublicKey
impl PartialEq<ECPublicKey> for ECPublicKey
source§fn eq(&self, other: &ECPublicKey) -> bool
fn eq(&self, other: &ECPublicKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UREncodable for ECPublicKey
impl UREncodable for ECPublicKey
impl Eq for ECPublicKey
impl StructuralEq for ECPublicKey
impl StructuralPartialEq for ECPublicKey
Auto Trait Implementations§
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