Class TlsSRPUtils


  • public class TlsSRPUtils
    extends java.lang.Object
    Deprecated.
    Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Integer EXT_SRP
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      TlsSRPUtils()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      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.