Enum x509_certificate::algorithm::EcdsaCurve
source · pub enum EcdsaCurve {
Secp256r1,
Secp384r1,
}
Expand description
Represents a known curve used with ECDSA.
Variants§
Implementations§
source§impl EcdsaCurve
impl EcdsaCurve
Trait Implementations§
source§impl Clone for EcdsaCurve
impl Clone for EcdsaCurve
source§fn clone(&self) -> EcdsaCurve
fn clone(&self) -> EcdsaCurve
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 EcdsaCurve
impl Debug for EcdsaCurve
source§impl From<EcdsaCurve> for &'static EcdsaSigningAlgorithm
impl From<EcdsaCurve> for &'static EcdsaSigningAlgorithm
source§fn from(curve: EcdsaCurve) -> Self
fn from(curve: EcdsaCurve) -> Self
Converts to this type from the input type.
source§impl PartialEq for EcdsaCurve
impl PartialEq for EcdsaCurve
source§fn eq(&self, other: &EcdsaCurve) -> bool
fn eq(&self, other: &EcdsaCurve) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&Oid> for EcdsaCurve
impl TryFrom<&Oid> for EcdsaCurve
impl Copy for EcdsaCurve
impl Eq for EcdsaCurve
impl StructuralEq for EcdsaCurve
impl StructuralPartialEq for EcdsaCurve
Auto Trait Implementations§
impl RefUnwindSafe for EcdsaCurve
impl Send for EcdsaCurve
impl Sync for EcdsaCurve
impl Unpin for EcdsaCurve
impl UnwindSafe for EcdsaCurve
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