sig
val oid_to_der : Netsys_gssapi.oid -> string
val der_to_oid : string -> int Stdlib.ref -> Netsys_gssapi.oid
val oid_to_der_value : Netsys_gssapi.oid -> string
val der_value_to_oid : string -> int Stdlib.ref -> int -> Netsys_gssapi.oid
val wire_encode_token : Netsys_gssapi.oid -> Netsys_gssapi.token -> string
val wire_decode_token :
string -> int Stdlib.ref -> Netsys_gssapi.oid * Netsys_gssapi.token
val encode_exported_name : Netsys_gssapi.oid -> string -> string
val decode_exported_name :
string -> int Stdlib.ref -> Netsys_gssapi.oid * string
val gs2_encode_saslname : string -> string
val gs2_decode_saslname : string -> string
val parse_kerberos_name : string -> string list * string option
val create_mic_token :
sent_by_acceptor:bool ->
acceptor_subkey:bool ->
sequence_number:int64 ->
get_mic:(Netsys_gssapi.message -> string) ->
message:Netsys_gssapi.message -> string
val parse_mic_token_header : string -> bool * bool * int64
val verify_mic_token :
get_mic:(Netsys_gssapi.message -> string) ->
message:Netsys_gssapi.message -> token:string -> bool
val create_wrap_token_conf :
sent_by_acceptor:bool ->
acceptor_subkey:bool ->
sequence_number:int64 ->
get_ec:(int -> int) ->
encrypt_and_sign:(Netsys_gssapi.message -> Netsys_gssapi.message) ->
message:Netsys_gssapi.message -> Netsys_gssapi.message
val parse_wrap_token_header :
Netsys_gssapi.message -> bool * bool * bool * int64
val unwrap_wrap_token_conf :
decrypt_and_verify:(Netsys_gssapi.message -> Netsys_gssapi.message) ->
token:Netsys_gssapi.message -> Netsys_gssapi.message
end