From 0db55f1b5e2dbed6bc774432be7172abe3daa1e4 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 2 Mar 2022 16:36:48 +0700 Subject: RFC 8879 preliminaries --- crypto/src/tls/HandshakeType.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crypto/src/tls/HandshakeType.cs') diff --git a/crypto/src/tls/HandshakeType.cs b/crypto/src/tls/HandshakeType.cs index 563cd1150..ad2c29c07 100644 --- a/crypto/src/tls/HandshakeType.cs +++ b/crypto/src/tls/HandshakeType.cs @@ -44,6 +44,11 @@ namespace Org.BouncyCastle.Tls public const short key_update = 24; public const short message_hash = 254; + /* + * RFC 8879 + */ + public const short compressed_certificate = 25; + public static string GetName(short handshakeType) { switch (handshakeType) @@ -88,6 +93,8 @@ namespace Org.BouncyCastle.Tls return "key_update"; case message_hash: return "message_hash"; + case compressed_certificate: + return "compressed_certificate"; default: return "UNKNOWN"; } @@ -122,6 +129,7 @@ namespace Org.BouncyCastle.Tls case encrypted_extensions: case key_update: case message_hash: + case compressed_certificate: return true; default: return false; -- cgit 1.4.1