Module tls_certificate_check

Main API.

Description

Main API

Data Types

option()

option() = ssl:tls_client_option()

override_source()

override_source() = {file, Path::file:name_all()} | {encoded, binary()} | (CAs::[public_key:der_encoded()])

Function Index

options/1Returns the list of ssl:connect options necessary to validate the server certificate against a list of trusted authorities, as well as to verify whether the server hostname matches one in the server certificate.
override_trusted_authorities/1Overrides the trusted authorities with a custom source.
trusted_authorities/0Returns the list of trusted authorities.

Function Details

options/1

options(Target) -> Options

Returns the list of ssl:connect options necessary to validate the server certificate against a list of trusted authorities, as well as to verify whether the server hostname matches one in the server certificate.

override_trusted_authorities/1

override_trusted_authorities(From) -> ok

Overrides the trusted authorities with a custom source.

trusted_authorities/0

trusted_authorities() -> CAs

Returns the list of trusted authorities.


Generated by EDoc