Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class TlsSRPUtils

java.lang.Object
  extended byorg.bouncycastle.crypto.tls.TlsSRPUtils

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public class TlsSRPUtils
extends java.lang.Object


Field Summary
static java.lang.Integer EXT_SRP
          Deprecated.  
 
Constructor Summary
TlsSRPUtils()
          Deprecated.  
 
Method Summary
static void addSRPExtension(java.util.Hashtable extensions, byte[] identity)
          Deprecated.  
static byte[] createSRPExtension(byte[] identity)
          Deprecated.  
static byte[] getSRPExtension(java.util.Hashtable extensions)
          Deprecated.  
static boolean isSRPCipherSuite(int cipherSuite)
          Deprecated.  
static byte[] readSRPExtension(byte[] extensionData)
          Deprecated.  
static java.math.BigInteger readSRPParameter(java.io.InputStream input)
          Deprecated.  
static void writeSRPParameter(java.math.BigInteger x, java.io.OutputStream output)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXT_SRP

public static final java.lang.Integer EXT_SRP
Deprecated. 
Constructor Detail

TlsSRPUtils

public TlsSRPUtils()
Deprecated. 
Method Detail

addSRPExtension

public static void addSRPExtension(java.util.Hashtable extensions,
                                   byte[] identity)
                            throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

getSRPExtension

public static byte[] getSRPExtension(java.util.Hashtable extensions)
                              throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

createSRPExtension

public static byte[] createSRPExtension(byte[] identity)
                                 throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

readSRPExtension

public static byte[] readSRPExtension(byte[] extensionData)
                               throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

readSRPParameter

public static java.math.BigInteger readSRPParameter(java.io.InputStream input)
                                             throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

writeSRPParameter

public static void writeSRPParameter(java.math.BigInteger x,
                                     java.io.OutputStream output)
                              throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

isSRPCipherSuite

public static boolean isSRPCipherSuite(int cipherSuite)
Deprecated. 

Bouncy Castle Cryptography Library 1.64