option() = ssl:tls_client_option()
override_source() = {file, Path::file:name_all()} | {encoded, binary()} | (CAs::[public_key:der_encoded()])
| options/1 | 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 | Overrides the trusted authorities with a custom source. |
| trusted_authorities/0 | Returns the list of trusted authorities. |
options(Target) -> Options
Target = Hostname | URLHostname = iodata()URL = iodata()Options = [option()]
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.
Target can be either a hostname or an HTTP URL, as iodata()Overrides the trusted authorities with a custom source.
Returns the list of trusted authorities.
Generated by EDoc