public class SPEKEPublicKey
extends java.lang.Object
implements java.security.PublicKey
SPEKEPublicKey class.| Constructor and Description |
|---|
SPEKEPublicKey(java.math.BigInteger q,
SPEKEParameterSpec params)
Constructs the public SPEKE key with the given key material and key
parameters.
|
| 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 |
getQ()
Returns the key material.
|
java.lang.String |
toString()
Returns the public SPEKE key as a
String. |
public SPEKEPublicKey(java.math.BigInteger q,
SPEKEParameterSpec params)
q - the key materialparams - the key parameterspublic java.math.BigInteger getQ()
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 public SPEKE key