public class BCGMSSPublicKey extends java.lang.Object implements CipherParameters, java.security.PublicKey
GMSSKeyPairGenerator,
Serialized Form| Constructor and Description |
|---|
BCGMSSPublicKey(byte[] pub,
GMSSParameters gmssParameterSet)
The constructor
|
BCGMSSPublicKey(GMSSPublicKeyParameters params) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm()
Returns the name of the algorithm
|
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
GMSSParameters |
getParameterSet() |
byte[] |
getPublicKeyBytes() |
java.lang.String |
toString()
Returns a human readable form of the GMSS public key
|
public BCGMSSPublicKey(byte[] pub,
GMSSParameters gmssParameterSet)
pub - a raw GMSS public keygmssParameterSet - an instance of GMSS ParametersetGMSSKeyPairGeneratorpublic BCGMSSPublicKey(GMSSPublicKeyParameters params)
public java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic byte[] getPublicKeyBytes()
public GMSSParameters getParameterSet()
public java.lang.String toString()
toString in class java.lang.Objectpublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Key