Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-01-28 05:43:54 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-01-28 05:43:54 +0400
commita52269fb54944a7518333bdc08169c64d29f17a2 (patch)
tree8b8ad09b931687a26e8885f04221aa91ee259e8a /core/src/main/java/org/bouncycastle/crypto/tls/ExtensionType.java
parent8a90ee1dcb3b46a08bae9480623e9ce5436b4868 (diff)
Add extension_type entry fo encrypt_then_mac
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/ExtensionType.java')
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/tls/ExtensionType.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/ExtensionType.java b/core/src/main/java/org/bouncycastle/crypto/tls/ExtensionType.java
index 8312e932..656dec77 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/ExtensionType.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/ExtensionType.java
@@ -49,6 +49,13 @@ public class ExtensionType
public static final int heartbeat = 15;
/*
+ * draft-gutmann-tls-encrypt-then-mac-05
+ *
+ * NOTE: This value has not yet been reserved by the IETF
+ */
+ public static final int encrypt_then_mac = 66;
+
+ /*
* RFC 5746 3.2.
*/
public static final int renegotiation_info = 0xff01;