|
Relates :
|
TLS supports an ALPN callback function which enables ALPN parameters to be supplied during the TLS handshake.
See SSLEngine.setHandshakeApplicationProtocolSelector
and SSLSocket.setHandshakeApplicationProtocolSelector
The ALPN callback function is currently specified to return one of two values:
o an application protocol name
o null -- no acceptable protocol name
It should be specified that the callback function can also return:
o an empty string -- to ignore ALPN