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/src/krb.public/protocol_backend_intf.ml.html

Source file protocol_backend_intf.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
open Core
open Async
open! Import

(** [Protocol_backend.S] is a signature of a module providing binprot reading and writing
    which [Protocol] uses for initial handshake. *)
module type S = sig
  type t

  (** This can raise in certain backends if, e.g. the connection is closed. *)
  val write_bin_prot_exn : t -> 'a Bin_prot.Type_class.writer -> 'a -> unit

  val read_bin_prot
    :  t
    -> 'a Bin_prot.Type_class.reader
    -> [ `Ok of 'a | `Eof ] Deferred.t

  val info : t -> Info.t
  val local_inet : t -> Socket.Address.Inet.t
  val remote_inet : t -> Socket.Address.Inet.t
end
OCaml

Innovation. Community. Security.