Package org.bouncycastle.crypto.tls
Class ServerSRPParams
- java.lang.Object
-
- org.bouncycastle.crypto.tls.ServerSRPParams
-
public class ServerSRPParams extends java.lang.ObjectDeprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Constructor Summary
Constructors Constructor Description ServerSRPParams(java.math.BigInteger N, java.math.BigInteger g, byte[] s, java.math.BigInteger B)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidencode(java.io.OutputStream output)Deprecated.Encode thisServerSRPParamsto anOutputStream.java.math.BigIntegergetB()Deprecated.java.math.BigIntegergetG()Deprecated.java.math.BigIntegergetN()Deprecated.byte[]getS()Deprecated.static ServerSRPParamsparse(java.io.InputStream input)Deprecated.Parse aServerSRPParamsfrom anInputStream.
-
-
-
Method Detail
-
getB
public java.math.BigInteger getB()
Deprecated.
-
getG
public java.math.BigInteger getG()
Deprecated.
-
getN
public java.math.BigInteger getN()
Deprecated.
-
getS
public byte[] getS()
Deprecated.
-
encode
public void encode(java.io.OutputStream output) throws java.io.IOExceptionDeprecated.Encode thisServerSRPParamsto anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
java.io.IOException
-
parse
public static ServerSRPParams parse(java.io.InputStream input) throws java.io.IOException
Deprecated.Parse aServerSRPParamsfrom anInputStream.- Parameters:
input- theInputStreamto parse from.- Returns:
- a
ServerSRPParamsobject. - Throws:
java.io.IOException
-
-