public class BCGMSSPublicKey extends java.lang.Object implements CipherParameters, java.security.PublicKey
GMSSKeyPairGenerator,
GMSSPublicKeySpec,
Serialized Form| Modifier | Constructor and Description |
|---|---|
|
BCGMSSPublicKey(byte[] pub,
GMSSParameters gmssParameterSet)
The constructor
|
|
BCGMSSPublicKey(GMSSPublicKeyParameters params) |
protected |
BCGMSSPublicKey(GMSSPublicKeySpec keySpec)
The constructor
|
| 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 ParametersetGMSSKeyPairGeneratorprotected BCGMSSPublicKey(GMSSPublicKeySpec keySpec)
keySpec - a GMSS key specificationpublic 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