Pure TLS 1.3 encrypted record protection for one complete framed record.
Stream accumulation remains the responsibility of SSL.Protocol.RecordFramer.
Successful operations return an immutable traffic state advanced by one
record; failures return no advanced state.
Summary
Functions
@spec decrypt(SSL.Crypto.TrafficState.t(), term()) :: {:ok, SSL.Protocol.InnerPlaintext.content_type(), binary(), SSL.Crypto.TrafficState.t()} | {:error, term()}
@spec encrypt(SSL.Crypto.TrafficState.t(), term(), term(), keyword()) :: {:ok, binary(), SSL.Crypto.TrafficState.t()} | {:error, term()}