Package org.bouncycastle.crypto.tls
Class ServerSRPParams
- java.lang.Object
-
- org.bouncycastle.crypto.tls.ServerSRPParams
-
public class ServerSRPParams extends java.lang.Object
Deprecated.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 void
encode(java.io.OutputStream output)
Deprecated.Encode thisServerSRPParams
to anOutputStream
.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 aServerSRPParams
from 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.IOException
Deprecated.Encode thisServerSRPParams
to anOutputStream
.- Parameters:
output
- theOutputStream
to encode to.- Throws:
java.io.IOException
-
parse
public static ServerSRPParams parse(java.io.InputStream input) throws java.io.IOException
Deprecated.Parse aServerSRPParams
from anInputStream
.- Parameters:
input
- theInputStream
to parse from.- Returns:
- a
ServerSRPParams
object. - Throws:
java.io.IOException
-
-