pub struct PeerKeyRule {
pub ec_curves: &'static [PeerCurve],
pub rsa: Option<RsaSizeRule>,
pub rsa_even_bits: bool,
pub ed25519: bool,
pub ml_dsa: &'static [MlDsaParameterSet],
}Expand description
The key families and parameters admitted for a certificate role.
Fields§
§ec_curves: &'static [PeerCurve]Admitted EC curves.
rsa: Option<RsaSizeRule>RSA modulus-size condition, if RSA is admitted.
rsa_even_bits: boolWhether RSA modulus bit lengths must also be even.
ed25519: boolWhether Ed25519 is admitted.
ml_dsa: &'static [MlDsaParameterSet]Admitted pure ML-DSA parameter sets.
Trait Implementations§
Source§impl Clone for PeerKeyRule
impl Clone for PeerKeyRule
impl Copy for PeerKeyRule
Source§impl Debug for PeerKeyRule
impl Debug for PeerKeyRule
impl Eq for PeerKeyRule
Source§impl PartialEq for PeerKeyRule
impl PartialEq for PeerKeyRule
impl StructuralPartialEq for PeerKeyRule
Auto Trait Implementations§
impl Freeze for PeerKeyRule
impl RefUnwindSafe for PeerKeyRule
impl Send for PeerKeyRule
impl Sync for PeerKeyRule
impl Unpin for PeerKeyRule
impl UnsafeUnpin for PeerKeyRule
impl UnwindSafe for PeerKeyRule
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