package krb

  1. Overview
  2. Docs
A library for using Kerberos for both Rpc and Tcp communication

Install

Dune Dependency

Authors

Maintainers

Sources

krb-v0.16.0.tar.gz
sha256=353675621e4c5a888f2483dc1bb7281bd17ce4ed7dfd2f40142257f98db7c77d

doc/krb.public/Krb_public/Kerberized_rw/index.html

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.