/usr/lib/ocaml/netstring/netasn1_encode.mli is in libocamlnet-ocaml-dev 4.1.2-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | (* $Id$ *)
(** ASN.1 encoder *)
(** Note that the encoder does not check whether the value is
well-formed, in particular whether the constrained string values
are correct.
*)
val encode_ber : Netbuffer.t -> Netasn1.Value.value ->
Netasn1.Value.pc
(** Appends a BER encoding of the value to the buffer (including the
header). Returns whether a primitive or constructed encoding was
generated.
*)
val encode_ber_contents : Netbuffer.t -> Netasn1.Value.value ->
Netasn1.Value.pc
(** Appends a BER encoding of the value to the buffer (excluding the
header). Returns whether a primitive or constructed encoding was
generated.
*)
|