java.io.Serializable, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable, XMSSKeypublic class BCXMSSPrivateKey extends java.lang.Object implements java.security.PrivateKey, XMSSKey
| Constructor | Description |
|---|---|
BCXMSSPrivateKey(ASN1ObjectIdentifier treeDigest,
XMSSPrivateKeyParameters keyParams) |
|
BCXMSSPrivateKey(PrivateKeyInfo keyInfo) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getAlgorithm() |
|
byte[] |
getEncoded() |
|
java.lang.String |
getFormat() |
|
int |
getHeight() |
|
java.lang.String |
getTreeDigest() |
|
int |
hashCode() |
public BCXMSSPrivateKey(ASN1ObjectIdentifier treeDigest, XMSSPrivateKeyParameters keyParams)
public BCXMSSPrivateKey(PrivateKeyInfo keyInfo) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getTreeDigest()
getTreeDigest in interface XMSSKey