pub struct ProfileSpec {
pub versions: &'static [TlsVersion],
pub cipher_suites: &'static [CipherSuite],
pub kx_groups: &'static [KxGroup],
pub signature_schemes: &'static [TlsSignatureScheme],
pub key_algorithms: &'static [SignatureAlgorithm],
}Expand description
A profile’s contents, each list in preference order.
Fields§
§versions: &'static [TlsVersion]Protocol versions.
cipher_suites: &'static [CipherSuite]Cipher suites.
kx_groups: &'static [KxGroup]Key-exchange groups.
signature_schemes: &'static [TlsSignatureScheme]Handshake signature schemes accepted from the peer.
key_algorithms: &'static [SignatureAlgorithm]Key algorithms the profile admits for keys generated or used under it.
Trait Implementations§
Source§impl Clone for ProfileSpec
impl Clone for ProfileSpec
impl Copy for ProfileSpec
Source§impl Debug for ProfileSpec
impl Debug for ProfileSpec
impl Eq for ProfileSpec
Source§impl PartialEq for ProfileSpec
impl PartialEq for ProfileSpec
impl StructuralPartialEq for ProfileSpec
Auto Trait Implementations§
impl Freeze for ProfileSpec
impl RefUnwindSafe for ProfileSpec
impl Send for ProfileSpec
impl Sync for ProfileSpec
impl Unpin for ProfileSpec
impl UnsafeUnpin for ProfileSpec
impl UnwindSafe for ProfileSpec
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