Struct openssl::ec::Asn1Flag[][src]

pub struct Asn1Flag(_);
Expand description

Named Curve or Explicit

This type acts as a boolean as to whether the EcGroup is named or explicit.

Implementations

Curve defined using polynomial parameters

Most applications use a named EC_GROUP curve, however, support is included to explicitly define the curve used to calculate keys This information would need to be known by both endpoint to make communication effective.

OPENSSL_EC_EXPLICIT_CURVE, but that was only added in 1.1. Man page documents that 0 can be used in older versions.

OpenSSL documentation at EC_GROUP

Standard Curves

Curves that make up the typical encryption use cases. The collection of curves are well known but extensible.

OpenSSL documentation at EC_GROUP

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.