View Source ssl_crl_cache (ssl v11.2)

CRL cache

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

Summary

Functions

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

Equivalent to insert/2

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

Types

Link to this type

crl_src()

View Source (since OTP 18.0)
-type crl_src() :: {file, file:filename()} | {der, public_key:der_encoded()}.
Link to this type

uri()

View Source (since OTP 18.0)
-type uri() :: uri_string:uri_string().

Functions

Link to this function

delete(Entries)

View Source (since OTP 18.0)
-spec delete(Entries) -> ok | {error, Reason}
          when Entries :: crl_src() | uri_string:uri_string(), Reason :: term().

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

Delete CRLs from the ssl applications local cache.

Link to this function

insert(CRLSrc)

View Source (since OTP 18.0)
-spec insert(CRLSrc) -> ok | {error, Reason} when CRLSrc :: crl_src(), Reason :: term().

Equivalent to insert/2

Link to this function

insert(DistPointURI, CRLSrc)

View Source (since OTP 18.0)
-spec insert(DistPointURI, CRLSrc) -> ok | {error, Reason}
          when 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