pub enum KeyAlgorithm {
Rsa(u32),
EcdsaP256,
EcdsaP384,
Ed25519,
}
Expand description
Supported key algorithms for certificate generation
Variants§
Rsa(u32)
RSA with specified key size (2048, 3072, 4096)
EcdsaP256
ECDSA with P-256 curve
EcdsaP384
ECDSA with P-384 curve
Ed25519
Ed25519 (recommended for new deployments)
Trait Implementations§
Source§impl Clone for KeyAlgorithm
impl Clone for KeyAlgorithm
Source§fn clone(&self) -> KeyAlgorithm
fn clone(&self) -> KeyAlgorithm
Returns a duplicate 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 KeyAlgorithm
impl Debug for KeyAlgorithm
impl Copy for KeyAlgorithm
Auto Trait Implementations§
impl Freeze for KeyAlgorithm
impl RefUnwindSafe for KeyAlgorithm
impl Send for KeyAlgorithm
impl Sync for KeyAlgorithm
impl Unpin for KeyAlgorithm
impl UnwindSafe for KeyAlgorithm
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