i
i
“K16304” — 2012/11/19 — 9:15
i
i
i
i
i
i
8.6 Secure SCTP Association
213
is the secured version of the web protocol. The application can use the same secure
port as with TCP. The security protocol used is Transport Layer Security (TLS).
It can provide security for both datagram and stream-based communication. The
application will use the API provided by the TLS located above the SCTP. Thus the
TLS version of the application protocol does NOT use the socket API as shown in
above paragraphs.
The best known TLS library is openSSL (OpenSSL).
The layout of code for communication is similar to the nonsecure SCTP associ-
ation but some specific security functionality is added.
Create SSL Context
ctx = SSL_CTX_new(DTLSv1_server_method());
This function sets up the SSL ...