# 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()}

###
Exports

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

Delete CRLs from the ssl applications local cache.

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

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

### Types

DistPointURI = uri_string:uri_string()
CRLSrc = crl_src()
Reason = term()

Insert CRLs into the ssl applications local cache, with or without a distribution point reference URI