public class SPEKEParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec, java.io.Serializable
SPEKEParameterSpec class.| Constructor and Description |
|---|
SPEKEParameterSpec(java.math.BigInteger s)
Constructs a SPEKE parameter specification using the argument
s
and the default value for p. |
SPEKEParameterSpec(java.math.BigInteger p,
java.math.BigInteger s)
Constructs a SPEKE parameter specification using the arguments
s
and p. |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getP()
Returns the paarmeter
p as an instance of
BigInteger. |
java.math.BigInteger |
getS()
Returns the paarmeter
s as an instance of
BigInteger. |
java.lang.String |
toString()
Returns the parameter specification as a
String. |
public SPEKEParameterSpec(java.math.BigInteger s)
s
and the default value for p.
s - the token shared by the entities involved in the SPEKEpublic SPEKEParameterSpec(java.math.BigInteger p,
java.math.BigInteger s)
s
and p.
p - the parameter ps - the token shared by the entities involved in the SPEKEpublic java.math.BigInteger getP()
p as an instance of
BigInteger.
ppublic java.math.BigInteger getS()
s as an instance of
BigInteger.
spublic java.lang.String toString()
String.
toString in class java.lang.ObjectString specifying the values of the parameters
p and s