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, waitdestroy, isDestroyedpublic BCXMSSPrivateKey(ASN1ObjectIdentifier treeDigest, XMSSPrivateKeyParameters keyParams)
public BCXMSSPrivateKey(PrivateKeyInfo keyInfo) throws IOException
IOExceptionpublic long getUsagesRemaining()
XMSSPrivateKeygetUsagesRemaining in interface XMSSPrivateKeypublic String getAlgorithm()
getAlgorithm in interface Keypublic byte[] getEncoded()
getEncoded in interface Keypublic String getTreeDigest()
getTreeDigest in interface XMSSKeyCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.