public class BCXMSSPrivateKey extends Object implements PrivateKey, XMSSPrivateKey
Constructor and Description |
---|
BCXMSSPrivateKey(ASN1ObjectIdentifier treeDigest,
XMSSPrivateKeyParameters keyParams) |
BCXMSSPrivateKey(PrivateKeyInfo keyInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
int |
getHeight() |
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 BCXMSSPrivateKey(ASN1ObjectIdentifier treeDigest, XMSSPrivateKeyParameters keyParams)
public BCXMSSPrivateKey(PrivateKeyInfo keyInfo) throws IOException
IOException
public long getUsagesRemaining()
XMSSPrivateKey
getUsagesRemaining
in interface XMSSPrivateKey
public String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
public String getTreeDigest()
getTreeDigest
in interface XMSSKey
Copyright © 2020 BouncyCastle.org. All rights reserved.