Package org.bouncycastle.crypto.tls
Class TlsSRPUtils
- java.lang.Object
-
- org.bouncycastle.crypto.tls.TlsSRPUtils
-
public class TlsSRPUtils extends java.lang.ObjectDeprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.IntegerEXT_SRPDeprecated.
-
Constructor Summary
Constructors Constructor Description TlsSRPUtils()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidaddSRPExtension(java.util.Hashtable extensions, byte[] identity)Deprecated.static byte[]createSRPExtension(byte[] identity)Deprecated.static byte[]getSRPExtension(java.util.Hashtable extensions)Deprecated.static booleanisSRPCipherSuite(int cipherSuite)Deprecated.static byte[]readSRPExtension(byte[] extensionData)Deprecated.static java.math.BigIntegerreadSRPParameter(java.io.InputStream input)Deprecated.static voidwriteSRPParameter(java.math.BigInteger x, java.io.OutputStream output)Deprecated.
-
-
-
Method Detail
-
addSRPExtension
public static void addSRPExtension(java.util.Hashtable extensions, byte[] identity) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
getSRPExtension
public static byte[] getSRPExtension(java.util.Hashtable extensions) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
createSRPExtension
public static byte[] createSRPExtension(byte[] identity) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
readSRPExtension
public static byte[] readSRPExtension(byte[] extensionData) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
readSRPParameter
public static java.math.BigInteger readSRPParameter(java.io.InputStream input) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
writeSRPParameter
public static void writeSRPParameter(java.math.BigInteger x, java.io.OutputStream output) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
isSRPCipherSuite
public static boolean isSRPCipherSuite(int cipherSuite)
Deprecated.
-
-