package krb

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

krb5_keyblock

An encryption type together with some key for that encryption type.

include Core.Comparable.S_plain with type t := t
include Base.Comparable.S with type t := t
val (>=) : t -> t -> bool
val (<=) : t -> t -> bool
val (=) : t -> t -> bool
val (>) : t -> t -> bool
val (<) : t -> t -> bool
val (<>) : t -> t -> bool
val equal : t -> t -> bool
val compare : t -> t -> int
val min : t -> t -> t
val max : t -> t -> t
val ascending : t -> t -> int
val descending : t -> t -> int
val between : t -> low:t -> high:t -> bool
val clamp_exn : t -> min:t -> max:t -> t
val clamp : t -> min:t -> max:t -> t Base__.Or_error.t
type comparator_witness
val comparator : (t, comparator_witness) Base__Comparator.comparator
val validate_lbound : min:t Core.Maybe_bound.t -> t Validate.check
val validate_ubound : max:t Core.Maybe_bound.t -> t Validate.check
val validate_bound : min:t Core.Maybe_bound.t -> max:t Core.Maybe_bound.t -> t Validate.check
module Replace_polymorphic_compare : sig ... end
val create : Enctype.t -> password:string -> salt:Data.t -> t Async.Deferred.Or_error.t

Derive a keyblock from (1) the principal's password and (2) a salt value to make it likely that even principals with the same password end up with different encryption keys.

val create_from_key_data : enctype:Enctype.t -> Core.Bigstring.t -> t Async.Deferred.Or_error.t

Create a keyblock from raw key data.

val enctype : t -> Enctype.t
val key : t -> string
module Raw : sig ... end
OCaml

Innovation. Community. Security.