public class BCGMSSPublicKey extends Object implements org.bouncycastle.crypto.CipherParameters, PublicKey
GMSSKeyPairGenerator
,
Serialized FormConstructor and Description |
---|
BCGMSSPublicKey(byte[] pub,
org.bouncycastle.pqc.crypto.gmss.GMSSParameters gmssParameterSet)
The constructor
|
BCGMSSPublicKey(org.bouncycastle.pqc.crypto.gmss.GMSSPublicKeyParameters params) |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Returns the name of the algorithm
|
byte[] |
getEncoded() |
String |
getFormat() |
org.bouncycastle.pqc.crypto.gmss.GMSSParameters |
getParameterSet() |
byte[] |
getPublicKeyBytes() |
String |
toString()
Returns a human readable form of the GMSS public key
|
public BCGMSSPublicKey(byte[] pub, org.bouncycastle.pqc.crypto.gmss.GMSSParameters gmssParameterSet)
pub
- a raw GMSS public keygmssParameterSet
- an instance of GMSS ParametersetGMSSKeyPairGenerator
public BCGMSSPublicKey(org.bouncycastle.pqc.crypto.gmss.GMSSPublicKeyParameters params)
public String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getPublicKeyBytes()
public org.bouncycastle.pqc.crypto.gmss.GMSSParameters getParameterSet()
public String toString()
public byte[] getEncoded()
getEncoded
in interface Key
Copyright © 2017 BouncyCastle.org. All rights reserved.