Struct openssl::ec::EcGroup []

pub struct EcGroup(_);

Methods

impl EcGroup
[src]

Returns the group of a standard named curve.

Methods from Deref<Target=EcGroupRef>

Places the components of a curve over a prime field in the provided BigNums.

Places the components of a curve over a binary field in the provided BigNums.

Returns the degree of the curve.

Places the order of the curve in the provided BigNum.

Sets the flag determining if the group corresponds to a named curve or must be explicitly parameterized.

This defaults to EXPLICIT_CURVE in OpenSSL 1.0.1 and 1.0.2, but NAMED_CURVE in OpenSSL 1.1.0.

Trait Implementations

impl ForeignType for EcGroup

The raw C type.

The type representing a reference to this type.

Constructs an instance of this type from its raw type.

Returns a raw pointer to the wrapped value.

impl Drop for EcGroup

A method called when the value goes out of scope. Read more

impl Deref for EcGroup

The resulting type after dereferencing

The method called to dereference a value

impl DerefMut for EcGroup

The method called to mutably dereference a value