SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
Enable the OCSP check during the SSL connection. Supports legacy, stapling and stapling v2 OCSP modes. The modes are automatically selected according to the server's capabilities. The whole certificate chain is checked for revocation. This feature is disabled by default, and enabled on a socket basis.
Example:
_u32 dummyVal;
_i16 status;
dummyVal = 1; //1 enable, 0 disable
status = sl_SetSockOpt(SockID,SL_SOL_SOCKET, SL_SO_SECURE_ENABLE_OCSP, &dummyVal,sizeof(dummyVal));
The OCSP is supported on the CC313x and CC323x only.