Enum x509_certificate::rfc5480::EcParameters
source · pub enum EcParameters {
NamedCurve(Oid),
ImplicitCurve,
SpecifiedCurve,
}
Expand description
Elliptic curve parameters.
ECParameters ::= CHOICE {
namedCurve OBJECT IDENTIFIER
-- implicitCurve NULL
-- specifiedCurve SpecifiedECDomain
}
Variants§
Implementations§
source§impl EcParameters
impl EcParameters
pub fn take_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Self, DecodeError<S::Error>>
pub fn encode_ref_as(&self, tag: Tag) -> impl Values + '_
pub fn encode_ref(&self) -> impl Values + '_
Trait Implementations§
source§impl Clone for EcParameters
impl Clone for EcParameters
source§fn clone(&self) -> EcParameters
fn clone(&self) -> EcParameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EcParameters
impl Debug for EcParameters
source§impl PartialEq for EcParameters
impl PartialEq for EcParameters
source§fn eq(&self, other: &EcParameters) -> bool
fn eq(&self, other: &EcParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EcParameters
impl StructuralEq for EcParameters
impl StructuralPartialEq for EcParameters
Auto Trait Implementations§
impl RefUnwindSafe for EcParameters
impl Send for EcParameters
impl Sync for EcParameters
impl Unpin for EcParameters
impl UnwindSafe for EcParameters
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