Package records implements the record layer of SSL/TLS protocol, responsible for encryption and integrity of the payload.

Main API is represented by the Reader and Writer that transparently translate plain payload to/from the prescribed record frames according to the configured protocol version and security parameters.

Cryptographic protection is provided by Ciphers which are created from CipherSpecs and appropriate keying material. In this context a Cipher represents specific combination of an encryption and MAC algorithm. There are several Cipher implementations reflecting the nuances of different Cipher types and ProtocolVersions.

Imports 2 package(s) ΒΆ