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
impl Eq for EcParameters
impl StructuralPartialEq for EcParameters
Auto Trait Implementations§
impl !Freeze for EcParameters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)