Enum rustls::SupportedCipherSuite [−][src]
pub enum SupportedCipherSuite { Tls12(&'static Tls12CipherSuite), Tls13(&'static Tls13CipherSuite), }
Expand description
A cipher suite supported by rustls.
All possible instances of this type are provided by the library in
the ALL_CIPHERSUITES
array.
Variants
Tls12(&'static Tls12CipherSuite)
A TLS 1.2 cipher suite
Tls13(&'static Tls13CipherSuite)
A TLS 1.3 cipher suite
Implementations
Which hash function to use with this suite.
The cipher suite’s identifier
Return supported protocol version for the cipher suite.
Return true if this suite is usable for a key only offering sig_alg
signatures. This resolves to true for all TLS1.3 suites.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for SupportedCipherSuite
impl Send for SupportedCipherSuite
impl Sync for SupportedCipherSuite
impl Unpin for SupportedCipherSuite
impl !UnwindSafe for SupportedCipherSuite
Blanket Implementations
Mutably borrows from an owned value. Read more