public class BCXMSSMTPublicKey extends java.lang.Object implements java.security.PublicKey, XMSSMTKey
Constructor and Description |
---|
BCXMSSMTPublicKey(ASN1ObjectIdentifier treeDigest,
XMSSMTPublicKeyParameters keyParams) |
BCXMSSMTPublicKey(SubjectPublicKeyInfo keyInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
int |
getHeight() |
int |
getLayers() |
java.lang.String |
getTreeDigest() |
int |
hashCode() |
public BCXMSSMTPublicKey(ASN1ObjectIdentifier treeDigest, XMSSMTPublicKeyParameters keyParams)
public BCXMSSMTPublicKey(SubjectPublicKeyInfo keyInfo) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public java.lang.String getTreeDigest()
getTreeDigest
in interface XMSSMTKey