Class BCXMSSPublicKey
- java.lang.Object
-
- org.bouncycastle.pqc.jcajce.provider.xmss.BCXMSSPublicKey
-
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,XMSSKey
public class BCXMSSPublicKey extends Object implements PublicKey, XMSSKey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BCXMSSPublicKey(ASN1ObjectIdentifier treeDigest, XMSSPublicKeyParameters keyParams)
BCXMSSPublicKey(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()
String
getTreeDigest()
int
hashCode()
-
-
-
Constructor Detail
-
BCXMSSPublicKey
public BCXMSSPublicKey(ASN1ObjectIdentifier treeDigest, XMSSPublicKeyParameters keyParams)
-
BCXMSSPublicKey
public BCXMSSPublicKey(SubjectPublicKeyInfo keyInfo) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getAlgorithm
public final String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm - "XMSS"
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
getTreeDigest
public String getTreeDigest()
- Specified by:
getTreeDigest
in interfaceXMSSKey
-
-