Module Values.ClientPolicyTlsSource

A reference to an object that represents a Transport Layer Security (TLS) client policy.

Sourcetype nonrec t = {
  1. certificate : ClientTlsCertificate.t option;
    (*

    A reference to an object that represents a client's TLS certificate.

    *)
  2. enforce : Boolean.t option;
    (*

    Whether the policy is enforced. The default is True, if a value isn't specified.

    *)
  3. ports : PortSet.t option;
    (*

    One or more ports that the policy is enforced for.

    *)
  4. validation : TlsValidationContext.t;
    (*

    A reference to an object that represents a TLS validation context.

    *)
}
Sourceval context_ : string
Sourceval make : ?certificate:??? -> ?enforce:??? -> ?ports:??? -> validation:TlsValidationContext.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `Integer of PortNumber.t ] list | `Structure of (string * [> `Structure of (string * [> `String of FilePath.t | `Structure of (string * [> `List of [> `String of SubjectAlternativeName.t ] list | `String of FilePath.t ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t