Compartilhar via


2.2.40 FW_GLOBAL_CONFIG_PRESHARED_KEY_ENCODING_VALUES

This enumeration is used to describe how preshared keys are encoded before being used.

 typedef  enum _FW_GLOBAL_CONFIG_PRESHARED_KEY_ENCODING_VALUES
 {
   FW_GLOBAL_CONFIG_PRESHARED_KEY_ENCODING_NONE = 0,
   FW_GLOBAL_CONFIG_PRESHARED_KEY_ENCODING_UTF_8 = 1,
   FW_GLOBAL_CONFIG_PRESHARED_KEY_ENCODING_MAX = 2
 } FW_GLOBAL_CONFIG_PRESHARED_KEY_ENCODING_VALUES;

FW_GLOBAL_CONFIG_PRESHARED_KEY_ENCODING_NONE:  Preshared key is not encoded. Instead, it is kept in its wide-character format. This symbolic constant has a value of 0.

FW_GLOBAL_CONFIG_PRESHARED_KEY_ENCODING_UTF_8:  Encode the preshared key using UTF-8. This symbolic constant has a value of 1.

FW_GLOBAL_CONFIG_PRESHARED_KEY_ENCODING_MAX:  This value and values that exceed this value are not valid and MUST NOT be used. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of 2.