def tls.connect.ca

bend-kit-wire@0.4.8.0 · wire.bend:78

import bend-kit-wire@0.4.8.0/wire.bend as Wire
import Base

78# Trust the PEM certificates in ca_path for this handshake, instead of the
79# default verify paths. Verification stays on. A load failure is EINVAL.
80def tls.connect.ca(sock: Socket, host: String, ms: U32, ca_path: String) ->
81  IO(Socket & Result<&1, &1, U32 & String, Unit>):
82  import "./effs/wire.c"
83  import "./effs/wire.js"

Uses (7)

Used by (1)