java.io.Serializable
, java.security.Key
, java.security.PrivateKey
, javax.security.auth.Destroyable
, SPHINCSKey
public class BCSphincs256PrivateKey extends java.lang.Object implements java.security.PrivateKey, SPHINCSKey
Constructor | Description |
---|---|
BCSphincs256PrivateKey(ASN1ObjectIdentifier treeDigest,
SPHINCSPrivateKeyParameters params) |
|
BCSphincs256PrivateKey(PrivateKeyInfo keyInfo) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
Compare this SPHINCS-256 private key with another object.
|
java.lang.String |
getAlgorithm() |
|
byte[] |
getEncoded() |
|
java.lang.String |
getFormat() |
|
byte[] |
getKeyData() |
|
int |
hashCode() |
public BCSphincs256PrivateKey(ASN1ObjectIdentifier treeDigest, SPHINCSPrivateKeyParameters params)
public BCSphincs256PrivateKey(PrivateKeyInfo keyInfo) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the other objectpublic int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getKeyData()
getKeyData
in interface SPHINCSKey