SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
Get the connection parameters after a successful handshake completes. The received parameters include server certificate parameters, chosen SSL version and cipher suite, and more.
Only 16 bytes of the issuer and subject common name are kept, to limit the amount of memory consumed by storing these parameters. The XORed hash of those names, plus the 16-byte name strings, are helpful in verifying a wanted name.
Example:
SlSockSSLConnectionParams_t conPa;
_i16 status;
SlSocklen_t len = sizeof(SlSockSSLConnectionParams_t);
status = sl_GetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_SSL_CONNECTION_PARAMS,&conPa,&len);