Erlang -- ssl_crl_cache

Secure Socket Layer

Reference Manual

Version 10.0

- User's Guide
- Reference Manual
- Release Notes
- PDF
- Top

- Expand All
- Contract All

### Table of Contents

- ssl (App)
- ssl
  - Top of manual page
  - append_cipher_suites/2
  - cipher_suites/0
  - cipher_suites/1
  - cipher_suites/2
  - cipher_suites/3
  - clear_pem_cache/0
  - close/1
  - close/2
  - connect/2
  - connect/3
  - connect/4
  - connection_information/1
  - connection_information/2
  - controlling_process/2
  - eccs/0
  - eccs/1
  - filter_cipher_suites/2
  - format_error/1
  - getopts/2
  - getstat/1
  - getstat/2
  - handshake/1
  - handshake/2
  - handshake/3
  - handshake_cancel/1
  - handshake_continue/2
  - handshake_continue/3
  - listen/2
  - negotiated_protocol/1
  - peercert/1
  - peername/1
  - prepend_cipher_suites/2
  - prf/5
  - recv/2
  - recv/3
  - renegotiate/1
  - send/2
  - setopts/2
  - shutdown/2
  - sockname/1
  - ssl_accept/1
  - ssl_accept/2
  - ssl_accept/3
  - start/0
  - start/1
  - stop/0
  - str_to_suite/1
  - suite_to_openssl_str/1
  - suite_to_str/1
  - transport_accept/1
  - transport_accept/2
  - update_keys/2
  - versions/0
- ssl_crl_cache
  - Top of manual page
  - delete/1
  - insert/1
  - insert/2
- ssl_crl_cache_api
  - Top of manual page
  - fresh_crl/2
  - fresh_crl/2
  - lookup/3
  - lookup/3
  - lookup/2
  - select/2
  - select/2
- ssl_session_cache_api
  - Top of manual page
  - delete/2
  - foldl/3
  - init/1
  - lookup/2
  - select_session/2
  - size/1
  - terminate/1
  - update/3

# ssl_crl_cache

### Module

ssl_crl_cache

### Module Summary

CRL cache

### Since

Module ssl_crl_cache was introduced in OTP 18.0.

### Description

Implements an internal CRL (Certificate Revocation List) cache. In addition to implementing the ssl_crl_cache_api behaviour the following functions are available.

### Data Types

crl_src() =
{file, file:filename()} | {der, public_key:der_encoded()}
uri() = uri_string:uri_string()

### Exports

delete(Entries) -> ok | {error, Reason} | OTP 18.0

### Types

Entries = crl_src()]}
Reason = crl_reason()

Delete CRLs from the ssl applications local cache.

insert(CRLSrc) -> ok | {error, Reason} | OTP 18.0

insert(URI, CRLSrc) -> ok | {error, Reason} | OTP 18.0

### Types

CRLSrc = crl_src()]}
URI = uri()
Reason = term()

Insert CRLs, available to fetch on DER format from URI, into the ssl applications local cache.