[][src]Enum parsec_interface::operations::key_attributes::EccCurve

#[repr(i32)]
pub enum EccCurve {
    Sect163k1,
    Sect163r1,
    Sect163r2,
    Sect193r1,
    Sect193r2,
    Sect233k1,
    Sect233r1,
    Sect239k1,
    Sect283k1,
    Sect283r1,
    Sect409k1,
    Sect409r1,
    Sect571k1,
    Sect571r1,
    Secp160k1,
    Secp160r1,
    Secp160r2,
    Secp192k1,
    Secp192r1,
    Secp224k1,
    Secp224r1,
    Secp256k1,
    Secp256r1,
    Secp384r1,
    Secp521r1,
    BrainpoolP256r1,
    BrainpoolP384r1,
    BrainpoolP512r1,
    Curve25519,
    Curve448,
}

Enumeration of elliptic curves supported.

Should only be used for keys with key_type either EccPublicKey or EccKeypair.

Variants

Sect163k1
Sect163r1
Sect163r2
Sect193r1
Sect193r2
Sect233k1
Sect233r1
Sect239k1
Sect283k1
Sect283r1
Sect409k1
Sect409r1
Sect571k1
Sect571r1
Secp160k1
Secp160r1
Secp160r2
Secp192k1
Secp192r1
Secp224k1
Secp224r1
Secp256k1
Secp256r1
Secp384r1
Secp521r1
BrainpoolP256r1
BrainpoolP384r1
BrainpoolP512r1
Curve25519
Curve448

Trait Implementations

impl Clone for EccCurve[src]

impl Copy for EccCurve[src]

impl Debug for EccCurve[src]

impl FromPrimitive for EccCurve[src]

impl PartialEq<EccCurve> for EccCurve[src]

impl StructuralPartialEq for EccCurve[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.