public class SPEKEPrivateKey
extends java.lang.Object
implements java.security.PrivateKey
SPEKEPrivateKey class.| Constructor and Description |
|---|
SPEKEPrivateKey(java.math.BigInteger r,
SPEKEParameterSpec params)
Constructs a SPEKE private key with the given key material and the parmeters.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm()
Returns the name of the algorithm.
|
byte[] |
getEncoded()
Not implemented, returns
null |
java.lang.String |
getFormat()
Not implemented, returns
null |
SPEKEParameterSpec |
getParams()
Returns the key parameters.
|
java.math.BigInteger |
getR()
Returns the value of the key material.
|
java.lang.String |
toString()
Returns the private SPEKE key as a
String. |
public SPEKEPrivateKey(java.math.BigInteger r,
SPEKEParameterSpec params)
r - the key materialparams - the key parameterspublic java.math.BigInteger getR()
BigIntegerpublic SPEKEParameterSpec getParams()
public java.lang.String getAlgorithm()
getAlgorithm in interface java.security.KeyStringpublic byte[] getEncoded()
nullgetEncoded in interface java.security.Keynullpublic java.lang.String getFormat()
nullgetFormat in interface java.security.Keynullpublic java.lang.String toString()
String.toString in class java.lang.ObjectString describing the private SPEKE key