Copyright © 2016 - 2026 SigScale Global Inc.
This callback module provides a gen_tcp compatible transport layer interface to EAP sessions for the ssl application.
Use the ssl:transportoption(){cb_info, {ocs_eap_tls_transport, eap_tls, eap_tls_closed, eap_tls_error}}
with ssl:listen/2.
eap_option() = any()
listen_option() = any()
| ssl_listen/2 | Creates an ssl listen socket. |
| deliver/3 | Deliver received EAP-TLS payload to SSL. |
| peername/1 | Returns the address and port for the other end of a connection. |
| sockname/1 | Returns the local address and port number for an EAP session. |
| port/1 | Returns the local port number for an EAP session. |
| setopts/2 | Sets one or more options for an EAP session. |
| getopts/2 | Gets one or more options for an EAP session. |
| listen/2 | Listen on an EAP session. |
| accept/2 | Accepts an incoming connection request on a listen socket. |
| shutdown/2 | Close an EAP session in one or two directions. |
| close/1 | Close an EAP session. |
| send/2 | Sends a packet on an EAP session. |
| controlling_process/2 | Assigns a new controlling process Pid to EAP session. |
ssl_listen(TlsFsm, Options) -> {ok, TlsRecordLayerSocket} | {error, Reason}
Creates an ssl listen socket.
deliver(SslPid, TlsFsm, Data) -> ok
Deliver received EAP-TLS payload to SSL.
peername(TlsFsm) -> {ok, {Address, Port}} | {error, Reason}
Returns the address and port for the other end of a connection.
sockname(TlsFsm) -> {ok, {Address, Port}} | {error, Reason}
Returns the local address and port number for an EAP session.
Returns the local port number for an EAP session.
setopts(TlsFsm, Options) -> ok | {error, Reason}
Sets one or more options for an EAP session.
getopts(TlsFsm, Options) -> {ok, OptionValues} | {error, Reason}
Gets one or more options for an EAP session.
listen(TlsFsm, Options) -> {ok, TlsFsm} | {error, Reason}
Listen on an EAP session.
accept(TlsFsm, Timeout) -> {ok, TlsFsm} | {error, Reason}
Accepts an incoming connection request on a listen socket.
shutdown(TlsFsm, How) -> ok | {error, Reason}
Close an EAP session in one or two directions.
close(TlsFsm) -> ok
Close an EAP session.
send(TlsFsm, Data) -> ok | {error, Reason}
Sends a packet on an EAP session.
controlling_process(TlsFsm, Pid) -> ok | {error, Reason}
Assigns a new controlling process Pid to EAP session.
Generated by EDoc