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) -> {ok, certdb_ref(), db_handle(), db_handle(), db_handle(), db_handle()}

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

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