diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-03-02 16:36:48 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-03-02 16:36:48 +0700 |
commit | 0db55f1b5e2dbed6bc774432be7172abe3daa1e4 (patch) | |
tree | c7a1a71ab6e6f37037a41c1ccfd813f2b1793468 /crypto/src/tls/HandshakeType.cs | |
parent | Further GCM updates (diff) | |
download | BouncyCastle.NET-ed25519-0db55f1b5e2dbed6bc774432be7172abe3daa1e4.tar.xz |
RFC 8879 preliminaries
Diffstat (limited to 'crypto/src/tls/HandshakeType.cs')
-rw-r--r-- | crypto/src/tls/HandshakeType.cs | 8 |
1 files changed, 8 insertions, 0 deletions
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; |