Expand description
TLS message encryption/decryption interfaces.
Structs§
- A key for an AEAD algorithm.
- A TLS frame, named TLSPlaintext in the standard.
- A TLS frame, named
TLSPlaintext
in the standard. - A write or read IV.
- How a TLS1.2
key_block
is partitioned. - A nonce. This is unique for all messages on a connection.
- A TLS frame, named
TLSPlaintext
in the standard. - A TLS frame, named
TLSPlaintext
in the standard. - A decrypted TLS frame
- An error indicating that the AEAD algorithm does not support the requested operation.
Enums§
- A collection of borrowed plaintext slices.
Constants§
- Size of TLS nonces (incorrectly termed “IV” in standard) for all supported ciphersuites (AES-GCM, Chacha20Poly1305)
Traits§
- Objects with this trait can decrypt TLS messages.
- Objects with this trait can encrypt TLS messages.
- Factory trait for building
MessageEncrypter
andMessageDecrypter
for a TLS1.2 cipher suite. - Factory trait for building
MessageEncrypter
andMessageDecrypter
for a TLS1.3 cipher suite.
Functions§
- Returns a TLS1.2
additional_data
encoding. - Returns a TLS1.3
additional_data
encoding.