public class ServerSRPParams
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.math.BigInteger |
B
Deprecated.
|
protected java.math.BigInteger |
g
Deprecated.
|
protected java.math.BigInteger |
N
Deprecated.
|
protected byte[] |
s
Deprecated.
|
Constructor and Description |
---|
ServerSRPParams(java.math.BigInteger N,
java.math.BigInteger g,
byte[] s,
java.math.BigInteger B)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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 . |
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.IOException
public 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