public class BCSLHDSAPrivateKey extends java.lang.Object implements SLHDSAPrivateKey
| Constructor and Description |
|---|
BCSLHDSAPrivateKey(PrivateKeyInfo keyInfo) |
BCSLHDSAPrivateKey(SLHDSAPrivateKeyParameters params) |
| Modifier and Type | Method and 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() |
SLHDSAParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
SLHDSAPublicKey |
getPublicKey()
Return the public key corresponding to this private key.
|
int |
hashCode() |
java.lang.String |
toString() |
public BCSLHDSAPrivateKey(SLHDSAPrivateKeyParameters params)
public BCSLHDSAPrivateKey(PrivateKeyInfo keyInfo) throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the other objectpublic int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic SLHDSAPublicKey getPublicKey()
SLHDSAPrivateKeygetPublicKey in interface SLHDSAPrivateKeypublic SLHDSAParameterSpec getParameterSpec()
SLHDSAKeygetParameterSpec in interface SLHDSAKeypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic java.lang.String toString()
toString in class java.lang.Object