ssl_manager

Types


certdb_ref() = reference()

db_handle() = term()

der_cert() = binary()

from() = term()

issuer() = tuple()

msg() = term()

reason() = term()

reply() = term()

serialnumber() = integer()

session_id() = 0 | binary()

Functions


manager_name(X1::normal | dist) -> atom()

start_link(Opts::list()) -> {ok, pid()} | ignore | {error, term()}

connection_init(Trustedcerts::binary() | {der, list()}, Role::client | server, CRLCache::{Cb::atom(), Handle::term()}) -> {ok, certdb_ref(), db_handle(), db_handle(), db_handle(), db_handle(), CRLInfo::term()}

cache_pem_file(File::binary(), DbHandle::term()) -> {ok, term()} | {error, reason()}

clear_pem_cache() -> ok

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

new_session_id(Port::integer()) -> session_id()

clean_cert_db(Ref::reference(), File::binary()) -> ok

register_session(Host::host(), Port::port_number() (see module inet), Session::#session{}) -> ok

register_session(Port::port_number() (see module inet), Session::#session{}) -> ok

invalidate_session(Host::host(), Port::port_number() (see module inet), Session::#session{}) -> ok

invalidate_session(Port::port_number() (see module inet), Session::#session{}) -> ok

invalidate_pem(File::binary()) -> ok

insert_crls(Path, CRLs) -> term()

insert_crls(Path, CRLs, ManagerType) -> term()

delete_crls(Path) -> term()

delete_crls(Path, ManagerType) -> term()

init(X1::list()) -> {ok, #state{}}

handle_call(X1::msg(), From::from(), State::#state{}) -> {reply, reply(), #state{}}

handle_cast(X1::msg(), State::#state{}) -> {noreply, #state{}}

handle_info(Info::msg(), State::#state{}) -> {noreply, #state{}}

terminate(Reason::reason(), State::#state{}) -> ok

code_change(OldVsn::term(), State::#state{}, Extra::list()) -> {ok, #state{}}

init_session_validator(X1) -> term()

init_pem_cache_validator(X1) -> term()