Package org.bouncycastle.tls
Class ServerSRPParams
java.lang.Object
org.bouncycastle.tls.ServerSRPParams
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigInteger
protected BigInteger
protected BigInteger
protected byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream output) Encode thisServerSRPParams
to anOutputStream
.getB()
getG()
getN()
byte[]
getS()
static ServerSRPParams
parse
(InputStream input) Parse aServerSRPParams
from anInputStream
.
-
Field Details
-
N
-
g
-
B
-
s
protected byte[] s
-
-
Constructor Details
-
ServerSRPParams
-
-
Method Details
-
getB
-
getG
-
getN
-
getS
public byte[] getS() -
encode
Encode thisServerSRPParams
to anOutputStream
.- Parameters:
output
- theOutputStream
to encode to.- Throws:
IOException
-
parse
Parse aServerSRPParams
from anInputStream
.- Parameters:
input
- theInputStream
to parse from.- Returns:
- a
ServerSRPParams
object. - Throws:
IOException
-