ssl_crl_cache(3erl)

NAME
ssl_crl_cache - CRL cache

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}

    Types:

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

    Delete CRLs from the ssl applications local cache.

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

    Types:

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

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