pub enum Curve<'a> {
Named(Oid<'a>),
Implicit,
Specified(Element<'a>),
}Expand description
Which ECParameters choice was written.
Variants§
Named(Oid<'a>)
namedCurve, the only choice RFC 5480 §2.1.1 permits in PKIX.
Implicit
implicitCurve: the curve is known only out of band.
Specified(Element<'a>)
specifiedCurve: explicit domain parameters, kept encoded.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Curve<'a>
impl<'a> RefUnwindSafe for Curve<'a>
impl<'a> Send for Curve<'a>
impl<'a> Sync for Curve<'a>
impl<'a> Unpin for Curve<'a>
impl<'a> UnsafeUnpin for Curve<'a>
impl<'a> UnwindSafe for Curve<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more