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:
Diffstat (limited to 'core/src/main/java/org/spongycastle/crypto/tls/ExporterLabel.java')
-rw-r--r--core/src/main/java/org/spongycastle/crypto/tls/ExporterLabel.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/core/src/main/java/org/spongycastle/crypto/tls/ExporterLabel.java b/core/src/main/java/org/spongycastle/crypto/tls/ExporterLabel.java
new file mode 100644
index 00000000..419680a8
--- /dev/null
+++ b/core/src/main/java/org/spongycastle/crypto/tls/ExporterLabel.java
@@ -0,0 +1,31 @@
+package org.spongycastle.crypto.tls;
+
+/**
+ * RFC 5705
+ */
+public class ExporterLabel
+{
+ /*
+ * RFC 5246
+ */
+ public static final String client_finished = "client finished";
+ public static final String server_finished = "server finished";
+ public static final String master_secret = "master secret";
+ public static final String key_expansion = "key expansion";
+
+ /*
+ * RFC 5216
+ */
+ public static final String client_EAP_encryption = "client EAP encryption";
+
+ /*
+ * RFC 5281
+ */
+ public static final String ttls_keying_material = "ttls keying material";
+ public static final String ttls_challenge = "ttls challenge";
+
+ /*
+ * RFC 5764
+ */
+ public static final String dtls_srtp = "EXTRACTOR-dtls_srtp";
+}