Liking cljdoc? Tell your friends :D

nrepl.tls

Interacting with the Java crypto APIs is one of the worst things you can do as a developer. I'm so sorry about all of this.

Interacting with the Java crypto APIs is one of the worst things you can do
as a developer. I'm so sorry about all of this.
raw docstring

acceptclj

(accept server)

Accepts a new TLS connection. Waits 10 000 milliseconds for the TLS handshake to complete. Requires that the client certificate is different from the server certificate.

Accepts a new TLS connection. Waits 10 000 milliseconds for the TLS handshake
to complete. Requires that the client certificate is different from the server certificate.
sourceraw docstring

base64->binarycljmacro

(base64->binary string)
source

enabled-protocolsclj

An array of protocols we support.

An array of protocols we support.
sourceraw docstring

server-socketclj

(server-socket context host port)

Given an SSL context, makes a server SSLSocket.

Given an SSL context, makes a server SSLSocket.
sourceraw docstring

socketclj

(socket context host port connect-timeout-ms)

Given an SSL context, makes a client SSLSocket.

Given an SSL context, makes a client SSLSocket.
sourceraw docstring

ssl-context-or-throwclj

(ssl-context-or-throw tls-keys-str tls-keys-file)

Create a SSL/TLS context from either a string or a file containing two certificates and a private key. Throws an exception if the SSL/TLS context could not be created.

Create a SSL/TLS context from either a string or a file containing two certificates and a private key.
Throws an exception if the SSL/TLS context could not be created.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close