public class ServerSRPParams
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
protected java.math.BigInteger | 
B  | 
protected java.math.BigInteger | 
g  | 
protected java.math.BigInteger | 
N  | 
protected byte[] | 
s  | 
| Constructor and Description | 
|---|
ServerSRPParams(java.math.BigInteger N,
               java.math.BigInteger g,
               byte[] s,
               java.math.BigInteger B)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
encode(java.io.OutputStream output)
Encode this  
ServerSRPParams to an OutputStream. | 
java.math.BigInteger | 
getB()  | 
java.math.BigInteger | 
getG()  | 
java.math.BigInteger | 
getN()  | 
byte[] | 
getS()  | 
static ServerSRPParams | 
parse(java.io.InputStream input)
Parse a  
ServerSRPParams from an InputStream. | 
protected java.math.BigInteger N
protected java.math.BigInteger g
protected java.math.BigInteger B
protected byte[] s
public ServerSRPParams(java.math.BigInteger N,
                       java.math.BigInteger g,
                       byte[] s,
                       java.math.BigInteger B)
public java.math.BigInteger getB()
public java.math.BigInteger getG()
public java.math.BigInteger getN()
public byte[] getS()
public void encode(java.io.OutputStream output)
            throws java.io.IOException
ServerSRPParams to an OutputStream.output - the OutputStream to encode to.java.io.IOExceptionpublic static ServerSRPParams parse(java.io.InputStream input) throws java.io.IOException
ServerSRPParams from an InputStream.input - the InputStream to parse from.ServerSRPParams object.java.io.IOException