public class BCSPHINCSPlusPrivateKey extends java.lang.Object implements SPHINCSPlusPrivateKey
| Constructor and Description |
|---|
BCSPHINCSPlusPrivateKey(PrivateKeyInfo keyInfo) |
BCSPHINCSPlusPrivateKey(SPHINCSPlusPrivateKeyParameters 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() |
SPHINCSPlusParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
SPHINCSPlusPublicKey |
getPublicKey()
Return the public key corresponding to this private key.
|
int |
hashCode() |
public BCSPHINCSPlusPrivateKey(SPHINCSPlusPrivateKeyParameters params)
public BCSPHINCSPlusPrivateKey(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 SPHINCSPlusPublicKey getPublicKey()
SPHINCSPlusPrivateKeygetPublicKey in interface SPHINCSPlusPrivateKeypublic SPHINCSPlusParameterSpec getParameterSpec()
SPHINCSPlusKeygetParameterSpec in interface SPHINCSPlusKeypublic java.lang.String getFormat()
getFormat in interface java.security.Key