pub enum EccKeyAlgorithm {
Show 15 variants
Secp192R1,
Secp224R1,
P256,
P384,
P521,
Secp192K1,
Secp224K1,
Secp256K1,
BrainpoolP256R1,
BrainpoolP384R1,
BrainpoolP512R1,
X25519,
X448,
Ed25519,
Ed448,
}Expand description
Selects one supported elliptic-curve key noxtls_algorithm for unified key generation.
Variants§
Secp192R1
NIST P-192 (secp192r1) key material.
Secp224R1
NIST P-224 (secp224r1) key material.
P256
NIST P-256 (secp256r1) key material.
P384
NIST P-384 (secp384r1) key material.
P521
NIST P-521 (secp521r1) key material.
Secp192K1
Koblitz secp192k1 key material.
Secp224K1
Koblitz secp224k1 key material.
Secp256K1
Koblitz secp256k1 key material.
BrainpoolP256R1
BrainpoolP256r1 key material.
BrainpoolP384R1
BrainpoolP384r1 key material.
BrainpoolP512R1
BrainpoolP512r1 key material.
X25519
Curve25519 X25519 key-exchange key material.
X448
Curve448 X448 key-exchange key material.
Ed25519
Ed25519 signing key material.
Ed448
Ed448 signing key material.
Trait Implementations§
Source§impl Clone for EccKeyAlgorithm
impl Clone for EccKeyAlgorithm
Source§fn clone(&self) -> EccKeyAlgorithm
fn clone(&self) -> EccKeyAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EccKeyAlgorithm
impl Debug for EccKeyAlgorithm
Source§impl PartialEq for EccKeyAlgorithm
impl PartialEq for EccKeyAlgorithm
Source§fn eq(&self, other: &EccKeyAlgorithm) -> bool
fn eq(&self, other: &EccKeyAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EccKeyAlgorithm
impl Eq for EccKeyAlgorithm
impl StructuralPartialEq for EccKeyAlgorithm
Auto Trait Implementations§
impl Freeze for EccKeyAlgorithm
impl RefUnwindSafe for EccKeyAlgorithm
impl Send for EccKeyAlgorithm
impl Sync for EccKeyAlgorithm
impl Unpin for EccKeyAlgorithm
impl UnsafeUnpin for EccKeyAlgorithm
impl UnwindSafe for EccKeyAlgorithm
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