package sid
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Sid
type sub_auths = Stdint.Uint32.t arrayval create : ?sa:Stdint.Uint32.t array -> Stdint.Uint64.t -> t optioncreate sas ia constructs a SID with the identifier authority ia and, optionally, the subauthorities sas. The operation will return None if sa contains more than fifteen subauthorities.
val create_unsafe : Stdint.Uint32.t array -> Stdint.Uint64.t -> tcreate_unsafe sas ia constructs a SID with the identifier authority ia and, optionally, the sub authorities sas without validating the inputs. Use with caution.
val equal_sub_auths : Stdint.Uint32.t array -> Stdint.Uint32.t array -> boolequal_sub_auths sa sb tests whether sa and sb have identical subauthorities.
val get_ident_auth : t -> Stdint.Uint64.tget_ident_auth s get the identifier authority of SID s.
module StringFmt : sig ... endConversions to and from the string format syntax (MS-DTYP 2.4.2.1).
module PacketRep : sig ... endConversion to and from the packet representation (MS-DTYP 2.4.2.2).
module WellKnown : sig ... endPre-defined SID constansts and constructors with fixed identifier authority (MS-DTYP 2.4.2.4).
val to_string : t -> stringto_string s is an alias for StringFmt.encode s.