Enum rustls::BulkAlgorithm
source · pub enum BulkAlgorithm {
Aes128Gcm,
Aes256Gcm,
Chacha20Poly1305,
}
Expand description
Bulk symmetric encryption scheme used by a cipher suite.
Variants§
Aes128Gcm
AES with 128-bit keys in Galois counter mode.
Aes256Gcm
AES with 256-bit keys in Galois counter mode.
Chacha20Poly1305
Chacha20 for confidentiality with poly1305 for authenticity.
Trait Implementations§
source§impl Debug for BulkAlgorithm
impl Debug for BulkAlgorithm
source§impl PartialEq<BulkAlgorithm> for BulkAlgorithm
impl PartialEq<BulkAlgorithm> for BulkAlgorithm
source§fn eq(&self, other: &BulkAlgorithm) -> bool
fn eq(&self, other: &BulkAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.