Liking cljdoc? Tell your friends :D

less.awful.ssl

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

base64->binarycljmacro

(base64->binary string)
source

enabled-protocolsclj

An array of protocols we support.

An array of protocols we support.
sourceraw docstring

key-managerclj

(key-manager key-store)
(key-manager key-store password)

An X.509 key manager for a KeyStore.

An X.509 key manager for a KeyStore.
sourceraw docstring

key-pairclj

(key-pair public-key private-key)

Creates a KeyPair from a public and private key

Creates a KeyPair from a public and private key
sourceraw docstring

key-storeclj

(key-store key-file cert-file)

Makes a keystore from a PKCS8 private key file, a public cert file, and the signing CA certificate.

Makes a keystore from a PKCS8 private key file, a public cert file, and the
signing CA certificate.
sourceraw docstring

key-store-passwordclj

You know, a mandatory password stored in memory so we can... encrypt... data stored in memory.

You know, a mandatory password stored in memory so we can... encrypt... data
stored in memory.
sourceraw docstring

load-certificateclj

(load-certificate file)

Loads an X.509 certificate from a file.

Loads an X.509 certificate from a file.
sourceraw docstring

load-certificate-chainclj

(load-certificate-chain file)

Loads an X.509 certificate chain from a file.

Loads an X.509 certificate chain from a file.
sourceraw docstring

private-keyclj

(private-key file)

Loads a private key from a PKCS8 file.

Loads a private key from a PKCS8 file.
sourceraw docstring

public-keyclj

(public-key file)

Loads a public key from a .crt file.

Loads a public key from a .crt file.
sourceraw docstring

rsa-key-factoryclj

An RSA key factory

An RSA key factory
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)

Given an SSL context, makes a client SSLSocket.

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

ssl-contextclj

(ssl-context key-file cert-file)
(ssl-context key-file cert-file ca-cert-file)

Given a PKCS8 key file, a certificate file, and optionally, a trusted CA certificate used to verify peers, returns an SSLContext.

Given a PKCS8 key file, a certificate file, and optionally, a trusted CA certificate
used to verify peers, returns an SSLContext.
sourceraw docstring

ssl-context->engineclj

(ssl-context->engine ctx)
source

ssl-context-generatorclj

(ssl-context-generator key-file cert-file)
(ssl-context-generator key-file cert-file ca-cert-file)

Returns a function that yields SSL contexts. Takes a PKCS8 key file, a certificate file, and optionally, a trusted CA certificate used to verify peers.

Returns a function that yields SSL contexts. Takes a PKCS8 key file, a
certificate file, and optionally, a trusted CA certificate used to verify peers.
sourceraw docstring

ssl-p12-contextclj

(ssl-p12-context p12 password ca-cert-file)

Given a PKCS12 key/cert file, the password, and a CA certificate that was used to sign the PKCS12, return an SSL Context

Given a PKCS12 key/cert file, the password, and a CA certificate that was used
to sign the PKCS12, return an SSL Context
sourceraw docstring

ssl-p12-context-generatorclj

(ssl-p12-context-generator p12 password ca-cert-file)

Returns a function that yields an SSL contexts. Takes a PKCS12 key/cert file, the password for the PKCS12 file, and a CA certificate that was used to sign the PKCS12.

Returns a function that yields an SSL contexts. Takes a PKCS12 key/cert file, the
password for the PKCS12 file, and a CA certificate that was used to sign the PKCS12.
sourceraw docstring

test-sslclj

(test-ssl client-key-file
          client-cert-file
          server-key-file
          server-cert-file
          ca-cert-file)

Given keys and certificates for a client and server, and the signing CA for both, verify that we can use those files to make an SSL connection.

Given keys and certificates for a client and server, and the signing CA for
both, verify that we can use those files to make an SSL connection.
sourceraw docstring

trust-managerclj

(trust-manager key-store)

An X.509 trust manager for a KeyStore.

An X.509 trust manager for a KeyStore.
sourceraw docstring

trust-storeclj

(trust-store ca-cert-file)

Makes a trust store, suitable for backing a TrustManager, out of a CA cert file.

Makes a trust store, suitable for backing a TrustManager, out of a CA cert
file.
sourceraw docstring

x509-cert-factoryclj

The X.509 certificate factory

The X.509 certificate factory
sourceraw docstring

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

× close