Class ServerSRPParams


  • public class ServerSRPParams
    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
      protected java.math.BigInteger B
      Deprecated.
       
      protected java.math.BigInteger g
      Deprecated.
       
      protected java.math.BigInteger N
      Deprecated.
       
      protected byte[] s
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerSRPParams​(java.math.BigInteger N, java.math.BigInteger g, byte[] s, java.math.BigInteger B)
      Deprecated.
       
    • Field Detail

      • N

        protected java.math.BigInteger N
        Deprecated.
      • g

        protected java.math.BigInteger g
        Deprecated.
      • B

        protected java.math.BigInteger B
        Deprecated.
      • s

        protected byte[] s
        Deprecated.
    • Constructor Detail

      • ServerSRPParams

        public ServerSRPParams​(java.math.BigInteger N,
                               java.math.BigInteger g,
                               byte[] s,
                               java.math.BigInteger B)
        Deprecated.
    • Method Detail

      • getB

        public java.math.BigInteger getB()
        Deprecated.
      • getG

        public java.math.BigInteger getG()
        Deprecated.
      • getN

        public java.math.BigInteger getN()
        Deprecated.
      • getS

        public byte[] getS()
        Deprecated.
      • encode

        public void encode​(java.io.OutputStream output)
                    throws java.io.IOException
        Deprecated.
        Encode this ServerSRPParams to an OutputStream.
        Parameters:
        output - the OutputStream to encode to.
        Throws:
        java.io.IOException
      • parse

        public static ServerSRPParams parse​(java.io.InputStream input)
                                     throws java.io.IOException
        Deprecated.
        Parse a ServerSRPParams from an InputStream.
        Parameters:
        input - the InputStream to parse from.
        Returns:
        a ServerSRPParams object.
        Throws:
        java.io.IOException