package krb

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Krb_public.Kerberized_rwSource

Sourcetype t

A kerberized reader writer pair wraps up an underlying reader writer pair with additional logic according to the Conn_type.t with which it is created:

  • Priv: encrypt writes and decrypt reads. This provides confidentiality and integrity.
  • Safe: add keyed cryptographic checksums to writes and validate them on reads. This provides integrity.
  • Auth: no additional logic.

These transformations are done to chunks of bytes at some reasonable granularity.

All exceptions will be sent to the underlying writer's monitor.

In the Auth case, the underlying reader and writer are the same as the kerberized ones.

Sourceval plaintext_reader : t -> Async.Reader.t
Sourceval plaintext_writer : t -> Async.Writer.t
Sourceval writer_closed_and_flushed : t -> unit Async.Deferred.t
OCaml

Innovation. Community. Security.