[−][src]Struct openssl::ec::Asn1Flag
Named Curve or Explicit
This type acts as a boolean as to whether the EcGroup
is named or explicit.
Methods
impl Asn1Flag
[src]
pub const EXPLICIT_CURVE: Asn1Flag
[src]
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
pub const NAMED_CURVE: Asn1Flag
[src]
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
Auto Trait Implementations
impl Send for Asn1Flag
impl Unpin for Asn1Flag
impl Sync for Asn1Flag
impl UnwindSafe for Asn1Flag
impl RefUnwindSafe for Asn1Flag
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,