Auth.DigestThe digest of a public key, used to recognise a vat. This appears in URIs as e.g. 'capnp://sha256:1234@host/'.
val insecure : tA special value indicating no authentication should be performed.
val from_uri : Uri.t -> (t, [> `Msg of string ]) Stdlib.resultfrom_uri t is the parsed digest information in t.
val add_to_uri : t -> Uri.t -> Uri.tadd_to_uri t uri is uri with the user and password fields set to the correct values for t. Note that although we use the "password" field, this is not secret.
val authenticator : t -> X509.Authenticator.t optionauthenticator t is an authenticator that checks that the peer's public key matches t. Returns None if t is insecure. Note: it currently also requires the DN field to be "capnp".
val of_certificate : X509.Certificate.t -> tof_certificate cert is a digest of cert's public key.
val pp : t Fmt.t