pub enum CertKeyAlgo {
EcdsaP256Sha256,
RsaPssSha256,
Unknown,
}Expand description
Detektierter Algorithmus aus dem Identity-Cert. Entscheidet, welche
c.dsign_algo-Werte und Sign-Routinen genutzt werden.
Variants§
EcdsaP256Sha256
ECDSA P-256 mit SHA-256 (rcgen-Default; Spec-Standard).
RsaPssSha256
RSA-2048 PSS-SHA256 (Legacy/Interop).
Unknown
Unbekannt — Cert-Public-Key-Algorithmus nicht in der Whitelist.
Trait Implementations§
Source§impl Clone for CertKeyAlgo
impl Clone for CertKeyAlgo
Source§fn clone(&self) -> CertKeyAlgo
fn clone(&self) -> CertKeyAlgo
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 CertKeyAlgo
impl Debug for CertKeyAlgo
Source§impl PartialEq for CertKeyAlgo
impl PartialEq for CertKeyAlgo
Source§fn eq(&self, other: &CertKeyAlgo) -> bool
fn eq(&self, other: &CertKeyAlgo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CertKeyAlgo
impl Eq for CertKeyAlgo
impl StructuralPartialEq for CertKeyAlgo
Auto Trait Implementations§
impl Freeze for CertKeyAlgo
impl RefUnwindSafe for CertKeyAlgo
impl Send for CertKeyAlgo
impl Sync for CertKeyAlgo
impl Unpin for CertKeyAlgo
impl UnsafeUnpin for CertKeyAlgo
impl UnwindSafe for CertKeyAlgo
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