Class BCGMSSPublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.gmss.BCGMSSPublicKey
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,CipherParameters
This class implements the GMSS public key and is usually initiated by the GMSSKeyPairGenerator.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBCGMSSPublicKey
(byte[] pub, GMSSParameters gmssParameterSet) The constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the algorithmbyte[]
byte[]
toString()
Returns a human readable form of the GMSS public key
-
Constructor Details
-
BCGMSSPublicKey
The constructor- Parameters:
pub
- a raw GMSS public keygmssParameterSet
- an instance of GMSS Parameterset- See Also:
-
BCGMSSPublicKey
-
-
Method Details
-
getAlgorithm
Returns the name of the algorithm- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- "GMSS"
-
getPublicKeyBytes
public byte[] getPublicKeyBytes()- Returns:
- The GMSS public key byte array
-
getParameterSet
- Returns:
- The GMSS Parameterset
-
toString
Returns a human readable form of the GMSS public key -
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getFormat
-