Module leec_tls

Data Types

any_directory_path()

any_directory_path() = file_utils:any_directory_path()

any_file_name()

any_file_name() = file_utils:any_file_name()

any_file_path()

any_file_path() = file_utils:any_file_path()

bin_certificate()

bin_certificate() = leec:bin_certificate()

bin_directory_path()

bin_directory_path() = file_utils:bin_directory_path()

bin_file_path()

bin_file_path() = file_utils:bin_file_path()

bin_fqdn()

bin_fqdn() = net_utils:bin_fqdn()

cert_file_path()

cert_file_path() = leec:cert_file_path()

cert_priv_key_file_path()

cert_priv_key_file_path() = leec:cert_priv_key_file_path()

certificate_provider()

certificate_provider() = leec:certificate_provider()

directory_path()

directory_path() = file_utils:bin_directory_path()

file_path()

file_path() = file_utils:file_path()

http_options()

http_options() = web_utils:http_options()

option()

option(T) = basic_utils:option(T)

san()

san() = leec:san()

table()

table(K, V) = map_hashtable:map_hashtable(K, V)

tls_private_key()

tls_private_key() = leec:tls_private_key()

tls_public_key()

tls_public_key() = leec:tls_public_key()

void()

void() = basic_utils:void()

Function Index

generate_certificate/5
get_cert_request/3
key_to_map/1
map_to_key/1
obtain_ca_cert_file/1
obtain_ca_cert_file/2
obtain_ca_cert_file/3
obtain_dh_key/1
obtain_private_key/2
write_certificate/3

Function Details

generate_certificate/5

generate_certificate(CertType::request | autosigned, BinDomain::bin_fqdn(), OutCertPath::cert_file_path(), PrivKeyFilePath::cert_priv_key_file_path(), SANs::[san()]) -> void()

get_cert_request/3

get_cert_request(BinDomain::bin_fqdn(), BinCertDirPath::bin_directory_path(), SANs::[san()]) -> leec:tls_csr()

key_to_map/1

key_to_map(Tls_public_key::tls_public_key()) -> map()

map_to_key/1

map_to_key(Map::map()) -> tls_public_key()

obtain_ca_cert_file/1

obtain_ca_cert_file(TargetDir::any_directory_path()) -> bin_file_path()

obtain_ca_cert_file/2

obtain_ca_cert_file(TargetDir::any_directory_path(), HttpOptions::http_options()) -> bin_file_path()

obtain_ca_cert_file/3

obtain_ca_cert_file(TargetDir::any_directory_path(), CertProvider::certificate_provider(), HttpOptions::http_options()) -> file_path()

obtain_dh_key/1

obtain_dh_key(CertDir::directory_path()) -> bin_file_path()

obtain_private_key/2

obtain_private_key(KeyFileInfo::option({new, any_file_name()} | any_file_path()), BinCertDirPath::bin_directory_path()) -> tls_private_key()

write_certificate/3

write_certificate(Domain::net_utils:string_fqdn(), BinDomainCert::bin_certificate(), BinCertDirPath::bin_directory_path()) -> file_path()


Generated by EDoc