Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class ServerSRPParams

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

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

public class ServerSRPParams
extends java.lang.Object


Field Summary
protected  java.math.BigInteger B
          Deprecated.  
protected  java.math.BigInteger g
          Deprecated.  
protected  java.math.BigInteger N
          Deprecated.  
protected  byte[] s
          Deprecated.  
 
Constructor Summary
ServerSRPParams(java.math.BigInteger N, java.math.BigInteger g, byte[] s, java.math.BigInteger B)
          Deprecated.  
 
Method Summary
 void encode(java.io.OutputStream output)
          Deprecated. Encode this ServerSRPParams to an OutputStream.
 java.math.BigInteger getB()
          Deprecated.  
 java.math.BigInteger getG()
          Deprecated.  
 java.math.BigInteger getN()
          Deprecated.  
 byte[] getS()
          Deprecated.  
static ServerSRPParams parse(java.io.InputStream input)
          Deprecated. Parse a ServerSRPParams from an InputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

Bouncy Castle Cryptography Library 1.64