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>2013-06-22 09:07:31 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-06-22 09:07:31 +0400
commitd4fde10c1724fb641a019bebe8d50a4d254c3fda (patch)
tree12d5cc14431afb61dc60b973e7572ad613014b72 /core/src/main/java/org/bouncycastle/crypto/tls/DTLSProtocol.java
parentb1eaafbe96dd53b791d2b10204bd772f408f1835 (diff)
Factor out a method for checking for empty extension_data
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/DTLSProtocol.java')
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/tls/DTLSProtocol.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/DTLSProtocol.java b/core/src/main/java/org/bouncycastle/crypto/tls/DTLSProtocol.java
index 350c6c2b..e27580c1 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/DTLSProtocol.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/DTLSProtocol.java
@@ -49,21 +49,6 @@ public abstract class DTLSProtocol
return maxFragmentLength;
}
- protected static boolean evaluateStatusRequestExtension(Hashtable serverExtensions, short alertDescription)
- throws IOException
- {
- byte[] statusRequest = TlsUtils.getExtensionData(serverExtensions, TlsExtensionsUtils.EXT_status_request);
- if (statusRequest == null)
- {
- return false;
- }
- if (statusRequest.length != 0)
- {
- throw new TlsFatalAlert(alertDescription);
- }
- return true;
- }
-
protected static byte[] generateCertificate(Certificate certificate)
throws IOException
{