Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations and Typedefs

    Specifies the enums and Data Structures used by the SSL APIs.

Data Structures

struct  tstrSslSetActiveCsList
 
struct  tstrTlsSrvChunkHdr
 
struct  tstrTlsSrvSecFileEntry
 This struct contains a TLS certificate. More...
 
struct  tstrTlsSrvSecHdr
 This struct contains a set of TLS certificates. More...
 

Enumerations

enum  tenuM2mSslCmd {
  M2M_SSL_REQ_CERT_VERIF,
  M2M_SSL_REQ_ECC,
  M2M_SSL_RESP_ECC,
  M2M_SSL_RSV,
  M2M_SSL_REQ_WRITE_OWN_CERTS,
  M2M_SSL_REQ_SET_CS_LIST,
  M2M_SSL_RESP_SET_CS_LIST,
  M2M_SSL_RESP_WRITE_OWN_CERTS
}
 This enum contains WINC commands related to TLS handshake. More...
 
enum  tenuTlsFlashStatus {
  TLS_FLASH_OK,
  TLS_FLASH_OK_NO_CHANGE,
  TLS_FLASH_ERR_CORRUPT,
  TLS_FLASH_ERR_NO_CHANGE,
  TLS_FLASH_ERR_UNKNOWN
}
 

This enum contains WINC commands related to TLS handshake.

Enumerator
M2M_SSL_REQ_CERT_VERIF 

For internal use only during RSA signature verification.

M2M_SSL_REQ_ECC 

Request from WINC for an elliptic curve operation.

M2M_SSL_RESP_ECC 

Response to WINC with the result of an elliptic curve operation.

M2M_SSL_RSV 

Reserved.

M2M_SSL_REQ_WRITE_OWN_CERTS 

Request to WINC with local certificates to write into WINC flash.

M2M_SSL_REQ_SET_CS_LIST 

Request to WINC to set the list of ciphersuites to be globally enabled.

M2M_SSL_RESP_SET_CS_LIST 

Response from WINC with the list of ciphersuites that are globally enabled.

M2M_SSL_RESP_WRITE_OWN_CERTS 

Response from WINC to indicate that local certificates have been written into WINC flash.

Enumerator
TLS_FLASH_OK 

Operation succeeded. Flash modified.

TLS_FLASH_OK_NO_CHANGE 

Operation was unnecessary. Flash not modified.

TLS_FLASH_ERR_CORRUPT 

Operation failed. Flash modified.

TLS_FLASH_ERR_NO_CHANGE 

Operation failed. Flash not modified.

TLS_FLASH_ERR_UNKNOWN 

Operation failed. Flash status unknown.