Package org.bouncycastle.pqc.crypto.xmss
Class XMSSPublicKeyParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.AsymmetricKeyParameter
-
- org.bouncycastle.pqc.crypto.xmss.XMSSKeyParameters
-
- org.bouncycastle.pqc.crypto.xmss.XMSSPublicKeyParameters
-
- All Implemented Interfaces:
CipherParameters
,XMSSStoreableObjectInterface
,Encodable
public final class XMSSPublicKeyParameters extends XMSSKeyParameters implements XMSSStoreableObjectInterface, Encodable
XMSS Public Key.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XMSSPublicKeyParameters.Builder
-
Field Summary
-
Fields inherited from class org.bouncycastle.pqc.crypto.xmss.XMSSKeyParameters
SHA_256, SHA_512, SHAKE128, SHAKE256
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]
getEncoded()
Return a byte array representing the implementing object.XMSSParameters
getParameters()
byte[]
getPublicSeed()
byte[]
getRoot()
byte[]
toByteArray()
Deprecated.use getEncoded() - this method will become private.-
Methods inherited from class org.bouncycastle.pqc.crypto.xmss.XMSSKeyParameters
getTreeDigest
-
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
-
-
-
Method Detail
-
getEncoded
public byte[] getEncoded() throws java.io.IOException
Description copied from interface:Encodable
Return a byte array representing the implementing object.- Specified by:
getEncoded
in interfaceEncodable
- Returns:
- a byte array representing the encoding.
- Throws:
java.io.IOException
- if an issue arises generation the encoding.
-
toByteArray
public byte[] toByteArray()
Deprecated.use getEncoded() - this method will become private.Description copied from interface:XMSSStoreableObjectInterface
Create byte representation of object.- Specified by:
toByteArray
in interfaceXMSSStoreableObjectInterface
- Returns:
- Byte representation of object.
-
getRoot
public byte[] getRoot()
-
getPublicSeed
public byte[] getPublicSeed()
-
getParameters
public XMSSParameters getParameters()
-
-