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, waitdestroy, isDestroyedpublic BCXMSSMTPrivateKey(ASN1ObjectIdentifier treeDigest, XMSSMTPrivateKeyParameters keyParams)
public BCXMSSMTPrivateKey(PrivateKeyInfo keyInfo) throws IOException
IOExceptionpublic long getUsagesRemaining()
XMSSMTPrivateKeygetUsagesRemaining in interface XMSSMTPrivateKeypublic String getAlgorithm()
getAlgorithm in interface Keypublic byte[] getEncoded()
getEncoded in interface Keypublic String getTreeDigest()
getTreeDigest in interface XMSSMTKeyCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.