pub struct Options {
pub pq_key_exchange_required: bool,
pub peer_certificates_match_profile: bool,
}Expand description
Narrowing applied on top of any profile. The default narrows nothing.
Fields§
§pq_key_exchange_required: boolKeep only post-quantum key exchange (pure ML-KEM and hybrid groups), and so remove TLS 1.2, which has none. Signatures are not narrowed.
peer_certificates_match_profile: boolRequire peer leaf keys and certification paths to match the profile. Off by default.
Trait Implementations§
impl Copy for Options
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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