密码套件用于网络通信中信息加密,一般用wireshark抓包可以看到,如图所示使用的密码套件为ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (0xCCA8) 256 bits
搜了一下关于密码套件的ID,网上搜不到,只能google+找国标。
国际的
(顺序什么的没有排,大致都在这了)
TLS 1.3
AES_128_GCM_SHA256 (0x1301) 128 bits
AES_256_GCM_SHA384 (0x1302) 256 bits
CHACHA20_POLY1305_SHA256 (0x1303) 256 bits
TLS 1.2
ECDHE_RSA_WITH_AES_128_GCM_SHA256 (0xC02F) 128 bits
ECDHE_RSA_WITH_AES_128_CBC_SHA256 (0xC027) 128 bits
ECDHE_RSA_WITH_AES_128_CBC_SHA (0xC013) 128 bits
ECDHE_RSA_WITH_AES_256_GCM_SHA384 (0xC030) 256 bits
ECDHE_RSA_WITH_AES_256_CBC_SHA384 (0xC028) 256 bits
ECDHE_RSA_WITH_AES_256_CBC_SHA (0xC014) 256 bits
ECDHE_RSA_WITH_ARIA_256_GCM_SHA384 (0xC061) 256 bits
ECDHE_RSA_WITH_ARIA_128_GCM_SHA256 (0xC060) 128 bits
ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384 (0xC077) 256 bits
ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 (0xC076) 128 bits
RSA_WITH_AES_256_GCM_SHA384 (0x9D) 256 bits
RSA_WITH_AES_256_CCM_8 (0xC0A1) 256 bits
RSA_WITH_AES_256_CCM (0xC09D) 256 bits
RSA_WITH_ARIA_256_GCM_SHA384 (0xC051) 256 bits
RSA_WITH_AES_128_GCM_SHA256 (0x9C) 128 bits
RSA_WITH_AES_128_CCM_8 (0xC0A0) 128 bits
ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (0xC02C) 256 bits
RSA_WITH_AES_128_CCM (0xC09C) 128 bits
RSA_WITH_ARIA_128_GCM_SHA256 (0xC050) 128 bits
RSA_WITH_AES_256_CBC_SHA256 (0x3D) 256 bits
RSA_WITH_CAMELLIA_256_CBC_SHA256 (0xC0) 256 bits
RSA_WITH_AES_128_CBC_SHA256 (0x3C) 128 bits
RSA_WITH_CAMELLIA_128_CBC_SHA256 (0xBA) 128 bits
RSA_WITH_AES_256_CBC_SHA (0x35) 256 bits
RSA_WITH_CAMELLIA_256_CBC_SHA (0x84) 256 bits
RSA_WITH_AES_128_CBC_SHA (0x2F) 128 bits
RSA_WITH_SEED_CBC_SHA (0x96) 128 bits
RSA_WITH_CAMELLIA_128_CBC_SHA (0x41) 128 bits
ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (0xCCA8) 256 bits
ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0xC02B) 128 bits
ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 (0xCCA9) 256 bits
ECDHE_ECDSA_WITH_AES_128_CBC_SHA (0xC009) 128 bits
ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0xC00A) 256 bits
RSA_WITH_3DES_EDE_CBC_SHA (0xA) 112 bits
TLS 1.1
ECDHE_RSA_WITH_AES_128_CBC_SHA (0xC013) 128 bits
ECDHE_RSA_WITH_AES_256_CBC_SHA (0xC014) 256 bits
RSA_WITH_AES_256_CBC_SHA (0x35) 256 bits
RSA_WITH_CAMELLIA_256_CBC_SHA (0x84) 256 bits
RSA_WITH_AES_128_CBC_SHA (0x2F) 128 bits
RSA_WITH_SEED_CBC_SHA (0x96) 128 bits
RSA_WITH_CAMELLIA_128_CBC_SHA (0x41) 128 bits
RSA_WITH_IDEA_CBC_SHA (0x7) 128 bits
ECDHE_ECDSA_WITH_AES_128_CBC_SHA (0xC009) 128 bits
ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0xC00A) 256 bits
RSA_WITH_3DES_EDE_CBC_SHA (0xA) 112 bits
TLS 1.0
ECDHE_RSA_WITH_AES_128_CBC_SHA (0xC013) 128 bits
ECDHE_RSA_WITH_AES_256_CBC_SHA (0xC014) 256 bits
RSA_WITH_AES_256_CBC_SHA (0x35) 256 bits
RSA_WITH_CAMELLIA_256_CBC_SHA (0x84) 256 bits
RSA_WITH_AES_128_CBC_SHA (0x2F) 128 bits
RSA_WITH_SEED_CBC_SHA (0x96) 128 bits
RSA_WITH_CAMELLIA_128_CBC_SHA (0x41) 128 bits
RSA_WITH_IDEA_CBC_SHA (0x7) 128 bits
ECDHE_ECDSA_WITH_AES_128_CBC_SHA (0xC009) 128 bits
ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0xC00A) 256 bits
RSA_WITH_3DES_EDE_CBC_SHA (0xA) 112 bits
国内的
(0x就是十六进制的意思,例如序号一的值应该是e0 01)