[][src]Struct signatory::ecdsa::curve::point::CompressedCurvePoint

pub struct CompressedCurvePoint<C: WeierstrassCurve> { /* fields omitted */ }

Compressed elliptic curve points serialized according to the Elliptic-Curve-Point-to-Octet-String algorithm

Methods

impl<C> CompressedCurvePoint<C> where
    C: WeierstrassCurve
[src]

Create a new compressed elliptic curve point

Important traits for &'a mut [u8]

Obtain public key as a byte array reference

Convert public key into owned byte array

Trait Implementations

impl<C: WeierstrassCurve> PartialEq<CompressedCurvePoint<C>> for CompressedCurvePoint<C>
[src]

This method tests for !=.

impl<C: WeierstrassCurve> Eq for CompressedCurvePoint<C>
[src]

impl<C: WeierstrassCurve> Clone for CompressedCurvePoint<C>
[src]

Performs copy-assignment from source. Read more

impl<C: WeierstrassCurve> AsRef<[u8]> for CompressedCurvePoint<C>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> Same for T

Should always be Self