# 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

####
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.