Module

Erl.Ssl

#AntiReplay

#Key

data Key

Instances

#Ciphers

#SignScheme

#Group

data Group

Instances

#VerifyEvent

#VerifyFnResult

#UserLookupFn

#LogLevel

#OTPCertificate

#CrlCheck

#NamedCurve

#Protocol

#Verify

#KeyPassword

#CommonOptions

type CommonOptions :: Row Type -> Row Typetype CommonOptions r = (beast_mitigation :: Maybe BeastMitigation, cert :: Maybe (List DerEncoded), certfile :: Maybe FileName, ciphers :: Maybe Ciphers, crl_check :: Maybe CrlCheck, depth :: Maybe Int, eccs :: Maybe (List NamedCurve), handshake :: Maybe HandshakeCompletion, hibernate_after :: Maybe Milliseconds, keep_secrets :: Maybe Boolean, key :: Maybe Key, key_update_at :: Maybe PosInt, keyfile :: Maybe FileName, log_level :: Maybe LogLevel, max_handshake_size :: Maybe Int, middlebox_comp_mode :: Maybe Boolean, padding_check :: Maybe Boolean, password :: Maybe KeyPassword, protocol :: Maybe Protocol, secure_renegotiate :: Maybe Boolean, signature_algs_cert :: Maybe (List SignScheme), supported_groups :: Maybe (List Group), versions :: Maybe (List ProtocolVersion) | r)

#ServerOptions

type ServerOptions :: Row Type -> Row Typetype ServerOptions r = (alpn_preferred_protocols :: Maybe (List AppLevelProtocol), anti_replay :: Maybe AntiReplay, cacertfile :: Maybe FileName, cacerts :: Maybe (List DerEncoded), client_renegotiation :: Maybe Boolean, cookie :: Maybe Boolean, dh :: Maybe Binary, dhfile :: Maybe FileName, early_data :: Maybe Binary, fail_if_no_peer_cert :: Maybe Boolean, honor_cipher_order :: Maybe Boolean, honor_ecc_order :: Maybe Boolean, next_protocols_advertised :: Maybe (List AppLevelProtocol), psk_identity :: Maybe PskIdentity, reuse_sessions :: Maybe Boolean, session_tickets :: Maybe ServerSessionTickets, signature_algs :: Maybe (List SignatureAlgorithm), verify :: Maybe Verify | r)

#ClientOptions

type ClientOptions :: Row Type -> Row Typetype ClientOptions r = (alpn_advertised_protocols :: Maybe (List AppLevelProtocol), cacertfile :: Maybe FileName, cacerts :: Maybe (List DerEncoded), client_preferred_next_protocols :: Maybe ClientPreferredNextProtocols, early_data :: Maybe Binary, fallback :: Maybe Boolean, max_fragment_length :: Maybe MaxFragmentLength, psk_identity :: Maybe PskIdentity, reuse_session :: Maybe ClientReuseSession, reuse_sessions :: Maybe ClientReuseSessions, server_name_indication :: Maybe Hostname, session_tickets :: Maybe ClientSessionTickets, signature_algs :: Maybe (List SignatureAlgorithm), srp_identity :: Maybe SrpIdentity, use_ticket :: Maybe (List Binary), verify :: Maybe Verify | r)

#AppLevelProtocol

#PskIdentity

#SrpIdentity

#ServerReuseSessionFn

#Cipher

#defaultCommonOptions

#defaultServerOptions

#defaultClientOptions

#close

close :: forall socketType socketMessageBehaviour. SslSocket socketMessageBehaviour socketType -> Effect Unit

#send

send :: forall socketMessageBehaviour. SslSocket socketMessageBehaviour ConnectedSocket -> IOData -> Effect (Either SendError Unit)

#recv

recv :: forall socketMessageBehaviour. SslSocket socketMessageBehaviour ConnectedSocket -> NonNegInt -> Timeout -> Effect (Either ActiveError Binary)

Modules