diff options
Diffstat (limited to 'crypto/src/tls')
-rw-r--r-- | crypto/src/tls/ContentType.cs | 3 | ||||
-rw-r--r-- | crypto/src/tls/ExtensionType.cs | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/crypto/src/tls/ContentType.cs b/crypto/src/tls/ContentType.cs index cf89539c7..fb0a9777f 100644 --- a/crypto/src/tls/ContentType.cs +++ b/crypto/src/tls/ContentType.cs @@ -10,6 +10,7 @@ namespace Org.BouncyCastle.Tls public const short handshake = 22; public const short application_data = 23; public const short heartbeat = 24; + public const short tls12_cid = 25; public static string GetName(short contentType) { @@ -25,6 +26,8 @@ namespace Org.BouncyCastle.Tls return "handshake"; case heartbeat: return "heartbeat"; + case tls12_cid: + return "tls12_cid"; default: return "UNKNOWN"; } diff --git a/crypto/src/tls/ExtensionType.cs b/crypto/src/tls/ExtensionType.cs index a1f1fa7e8..f879bd6e1 100644 --- a/crypto/src/tls/ExtensionType.cs +++ b/crypto/src/tls/ExtensionType.cs @@ -136,6 +136,11 @@ namespace Org.BouncyCastle.Tls public const int key_share = 51; /* + * RFC 9146 + */ + public const int connection_id = 54; + + /* * RFC 5746 3.2. */ public const int renegotiation_info = 0xff01; @@ -222,6 +227,8 @@ namespace Org.BouncyCastle.Tls return "signature_algorithms_cert"; case key_share: return "key_share"; + case connection_id: + return "connection_id"; case renegotiation_info: return "renegotiation_info"; default: @@ -277,6 +284,7 @@ namespace Org.BouncyCastle.Tls case post_handshake_auth: case signature_algorithms_cert: case key_share: + case connection_id: case renegotiation_info: return true; default: |