public class ServerSRPParams extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BigInteger |
B |
protected BigInteger |
g |
protected BigInteger |
N |
protected byte[] |
s |
| Constructor and Description |
|---|
ServerSRPParams(BigInteger N,
BigInteger g,
byte[] s,
BigInteger B) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(OutputStream output)
Encode this
ServerSRPParams to an OutputStream. |
BigInteger |
getB() |
BigInteger |
getG() |
BigInteger |
getN() |
byte[] |
getS() |
static ServerSRPParams |
parse(InputStream input)
Parse a
ServerSRPParams from an InputStream. |
protected BigInteger N
protected BigInteger g
protected BigInteger B
protected byte[] s
public ServerSRPParams(BigInteger N, BigInteger g, byte[] s, BigInteger B)
public BigInteger getB()
public BigInteger getG()
public BigInteger getN()
public byte[] getS()
public void encode(OutputStream output) throws IOException
ServerSRPParams to an OutputStream.output - the OutputStream to encode to.IOExceptionpublic static ServerSRPParams parse(InputStream input) throws IOException
ServerSRPParams from an InputStream.input - the InputStream to parse from.ServerSRPParams object.IOExceptionCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.