public class BCGMSSPublicKey extends Object implements CipherParameters, 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 |
|---|---|
String |
getAlgorithm()
Returns the name of the algorithm
|
byte[] |
getEncoded() |
String |
getFormat() |
GMSSParameters |
getParameterSet() |
byte[] |
getPublicKeyBytes() |
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 String getAlgorithm()
getAlgorithm in interface Keypublic byte[] getPublicKeyBytes()
public GMSSParameters getParameterSet()
public String toString()
public byte[] getEncoded()
getEncoded in interface KeyCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.