次の方法で共有


2.2.66 FW_CRYPTO_KEY_EXCHANGE_TYPE

This enumeration is used to identify supported key exchange algorithms.

 typedef  enum _tag_FW_CRYPTO_KEY_EXCHANGE_TYPE
 {
   FW_CRYPTO_KEY_EXCHANGE_NONE = 0,
   FW_CRYPTO_KEY_EXCHANGE_DH1 = 1,
   FW_CRYPTO_KEY_EXCHANGE_DH2 = 2,
   FW_CRYPTO_KEY_EXCHANGE_ECDH256 = 3,
   FW_CRYPTO_KEY_EXCHANGE_ECDH384 = 4,
   FW_CRYPTO_KEY_EXCHANGE_DH14 = 5,
   FW_CRYPTO_KEY_EXCHANGE_DH14 = FW_CRYPTO_KEY_EXCHANGE_DH2048 = 5,
   FW_CRYPTO_KEY_EXCHANGE_DH24 = 6,
   FW_CRYPTO_KEY_EXCHANGE_MAX_V2_10 = FW_CRYPTO_KEY_EXCHANGE_DH24 = 6,
   FW_CRYPTO_KEY_EXCHANGE_MAX = 7
 } FW_CRYPTO_KEY_EXCHANGE_TYPE;

FW_CRYPTO_KEY_EXCHANGE_NONE:  This value means that there are no key exchange algorithms defined. When enumerating SAs, this value MAY be returned. It MUST NOT be used for other cases. This symbolic constant has a value of 0.

FW_CRYPTO_KEY_EXCHANGE_DH1:  Do key exchange with Diffie-Hellman group 1. This symbolic constant has a value of 1.

FW_CRYPTO_KEY_EXCHANGE_DH2:  Do key exchange with Diffie-Hellman group 2. This symbolic constant has a value of 2.

FW_CRYPTO_KEY_EXCHANGE_ECDH256:  Do key exchange with elliptic curve Diffie-Hellman 256. This symbolic constant has a value of 3.

FW_CRYPTO_KEY_EXCHANGE_ECDH384:  Do key exchange with elliptic curve Diffie-Hellman 384. This symbolic constant has a value of 4.

FW_CRYPTO_KEY_EXCHANGE_DH14:  Do key exchange with Diffie-Hellman group 14. This symbolic constant has a value of 5.

FW_CRYPTO_KEY_EXCHANGE_DH14 = FW_CRYPTO_KEY_EXCHANGE_DH2048:  Do key exchange with Diffie-Hellman group 14. This group was called Diffie-Hellman group 2048 when it was introduced. The name has been changed to match standard terminology. This symbolic constant has a value of 5.

FW_CRYPTO_KEY_EXCHANGE_DH24:  Do key exchange with Diffie-Hellman group 24. For schema versions 0x0200, 0x0201, and 0x020A, this value is invalid and MUST NOT be used. This symbolic constant has a value of 6.

FW_CRYPTO_KEY_EXCHANGE_MAX_V2_10 = FW_CRYPTO_KEY_EXCHANGE_DH24:  This value and values that exceed this value are not valid and MUST NOT be used by servers and clients with schema version 0x020A and earlier. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of 6.

FW_CRYPTO_KEY_EXCHANGE_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 7.