Class BCXMSSMTPublicKey
- java.lang.Object
-
- org.bouncycastle.pqc.jcajce.provider.xmss.BCXMSSMTPublicKey
-
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,XMSSMTKey
public class BCXMSSMTPublicKey extends Object implements PublicKey, XMSSMTKey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BCXMSSMTPublicKey(ASN1ObjectIdentifier treeDigest, XMSSMTPublicKeyParameters keyParams)
BCXMSSMTPublicKey(SubjectPublicKeyInfo keyInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAlgorithm()
byte[]
getEncoded()
String
getFormat()
int
getHeight()
int
getLayers()
String
getTreeDigest()
int
hashCode()
-
-
-
Constructor Detail
-
BCXMSSMTPublicKey
public BCXMSSMTPublicKey(ASN1ObjectIdentifier treeDigest, XMSSMTPublicKeyParameters keyParams)
-
BCXMSSMTPublicKey
public BCXMSSMTPublicKey(SubjectPublicKeyInfo keyInfo) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getAlgorithm
public final String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm - "XMSSMT"
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
getTreeDigest
public String getTreeDigest()
- Specified by:
getTreeDigest
in interfaceXMSSMTKey
-
-