diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2016-02-03 15:48:15 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2016-02-03 15:48:15 +0700 |
commit | 38a3073f964d1695913411f4e127468b6f86317e (patch) | |
tree | a9d74c7aebdb8c94ff1e9b5368fecad9ad90e1ac /crypto | |
parent | Refactoring (diff) | |
download | BouncyCastle.NET-ed25519-38a3073f964d1695913411f4e127468b6f86317e.tar.xz |
Add various ExtensionType values
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/crypto/tls/ExtensionType.cs | 51 |
1 files changed, 47 insertions, 4 deletions
diff --git a/crypto/src/crypto/tls/ExtensionType.cs b/crypto/src/crypto/tls/ExtensionType.cs index b4b24f7c3..bff9332a0 100644 --- a/crypto/src/crypto/tls/ExtensionType.cs +++ b/crypto/src/crypto/tls/ExtensionType.cs @@ -1,3 +1,5 @@ +using System; + namespace Org.BouncyCastle.Crypto.Tls { public abstract class ExtensionType @@ -18,9 +20,26 @@ namespace Org.BouncyCastle.Crypto.Tls public const int user_mapping = 6; /* + * RFC 5878 + */ + public const int client_authz = 7; + public const int server_authz = 8; + + /* + * RFC RFC6091 + */ + public const int cert_type = 9; + + /* + * draft-ietf-tls-negotiated-ff-dhe-10 + */ + public const int supported_groups = 10; + + /* * RFC 4492 5.1. */ - public const int elliptic_curves = 10; + [Obsolete("Use 'supported_groups' instead")] + public const int elliptic_curves = supported_groups; public const int ec_point_formats = 11; /* @@ -44,14 +63,38 @@ namespace Org.BouncyCastle.Crypto.Tls public const int heartbeat = 15; /* + * RFC 7301 + */ + public const int application_layer_protocol_negotiation = 16; + + /* + * RFC 6961 + */ + public const int status_request_v2 = 17; + + /* + * RFC 6962 + */ + public const int signed_certificate_timestamp = 18; + + /* + * RFC 7250 + */ + public const int client_certificate_type = 19; + public const int server_certificate_type = 20; + + /* + * RFC 7685 + */ + public const int padding = 21; + + /* * RFC 7366 */ public const int encrypt_then_mac = 22; /* - * draft-ietf-tls-session-hash-04 - * - * NOTE: Early code-point assignment + * RFC 7627 */ public const int extended_master_secret = 23; |