Package org.bouncycastle.tls
Class ServerSRPParams
java.lang.Object
org.bouncycastle.tls.ServerSRPParams
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigIntegerprotected BigIntegerprotected BigIntegerprotected byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream output) Encode thisServerSRPParamsto anOutputStream.getB()getG()getN()byte[]getS()static ServerSRPParamsparse(InputStream input) Parse aServerSRPParamsfrom anInputStream.
-
Field Details
-
N
-
g
-
B
-
s
protected byte[] s
-
-
Constructor Details
-
ServerSRPParams
-
-
Method Details
-
getB
-
getG
-
getN
-
getS
public byte[] getS() -
encode
Encode thisServerSRPParamsto anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
IOException
-
parse
Parse aServerSRPParamsfrom anInputStream.- Parameters:
input- theInputStreamto parse from.- Returns:
- a
ServerSRPParamsobject. - Throws:
IOException
-