Skip to main content

ToCompactSec1Point

Trait ToCompactSec1Point 

Source
pub trait ToCompactSec1Point<C>{
    // Required method
    fn to_compact_encoded_point(&self) -> CtOption<Sec1Point<C>>;
}
Expand description

Trait for serializing a value to a SEC1 encoded curve point with compaction.

This is intended for use with the AffinePoint type for a given elliptic curve.

Required Methods§

Source

fn to_compact_encoded_point(&self) -> CtOption<Sec1Point<C>>

Serialize this value as a SEC1 Sec1Point, optionally applying point compression.

Implementors§