public class BCGMSSPublicKey extends java.lang.Object implements CipherParameters, java.security.PublicKey
GMSSKeyPairGenerator
,
Serialized FormConstructor 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 ParametersetGMSSKeyPairGenerator
public BCGMSSPublicKey(GMSSPublicKeyParameters params)
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public byte[] getPublicKeyBytes()
public GMSSParameters getParameterSet()
public java.lang.String toString()
toString
in class java.lang.Object
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key