ssl_certificate_db

DATA TYPES

certdb_ref() = reference()
db_handle() = term()
der_cert() = binary()
issuer() = tuple()
serialnumber() = integer()
time() = {non_neg_integer(), non_neg_integer(), non_neg_integer()}

Functions


create() -> [db_handle()]

remove(Dbs::[db_handle()]) -> term()

lookup_trusted_cert(DbHandle::db_handle(), Ref::certdb_ref(), SerialNumber::serialnumber(), Issuer::issuer()) -> undefined | {ok, {der_cert(), #'OTPCertificate'{}}}

lookup_cached_certs(DbHandle, File) -> term()

add_trusted_certs(Pid::pid(), File::string() | {der, list()}, X3::[db_handle()]) -> {ok, [db_handle()]}

cache_pem_file(Pid::pid(), File::string(), Time::time(), X4::[db_handle()]) -> term()

uncache_pem_file(File::string(), X2::[db_handle()]) -> no_return()

remove_trusted_certs(Pid::pid(), X2::[db_handle()]) -> term()

lookup(Key::term(), Db::db_handle()) -> term() | undefined

foldl(Fun::function(), Acc0::term(), Cache::db_handle()) -> term()