X509 v0.6.0 API Reference

Modules

Generic functions for working with X.509 entities

Module for generating and parsing Certificate Revocation Lists (CRLs)

CRL entries identify revoked certificates and contain metadata about the revocation

Convenience functions for creating :Extension records for use in CRLs or CRL entries

Implements PKCS#10 Certificate Signing Requests (CSRs), formally known by their ASN.1 type CertificationRequest

Module for issuing and working with X.509 certificates

Convenience functions for creating :Extension records for use in certificates

Certificate templates

Convenience functions for creating :Validity records for use in certificates. The :Validity record represents the X.509 Validity type, defining the validity of a certificate in terms of notBefore and notAfter timestamps

Functions for generating, reading and writing RSA and EC private keys

Functions for deriving, reading and writing RSA and EC public keys

Convenience functions for creating :rdnSquence tuples, as defined in Erlang’s :public_key module as the issuer_name() type, and representing the X.509 RDNSequence type. RDNSequences are primarily used for the Subject and Issuer fields of certificates, as well as the Subject field of CSRs

Simple CRL responder for use in test suites

Simple TLS server for hosting X509.Test.Suite scenarios

This module may be used to generate a suite of certificates for client or server testing, and offers an sni_fun hook for setting up a test scenario based on the requested hostname

Mix Tasks

Generates a self-signed certificate for testing

Generates a suite of test certificates

Runs a server for manual TLS client testing