public class BCXMSSMTPrivateKey extends Object implements PrivateKey, XMSSMTPrivateKey
Constructor and Description |
---|
BCXMSSMTPrivateKey(ASN1ObjectIdentifier treeDigest,
XMSSMTPrivateKeyParameters keyParams) |
BCXMSSMTPrivateKey(PrivateKeyInfo keyInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
int |
getHeight() |
int |
getLayers() |
String |
getTreeDigest() |
long |
getUsagesRemaining()
Return the number of usages left for the private key.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed
public BCXMSSMTPrivateKey(ASN1ObjectIdentifier treeDigest, XMSSMTPrivateKeyParameters keyParams)
public BCXMSSMTPrivateKey(PrivateKeyInfo keyInfo) throws IOException
IOException
public long getUsagesRemaining()
XMSSMTPrivateKey
getUsagesRemaining
in interface XMSSMTPrivateKey
public String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
public String getTreeDigest()
getTreeDigest
in interface XMSSMTKey
Copyright © 2020 BouncyCastle.org. All rights reserved.