public class BCDilithiumPrivateKey extends java.lang.Object implements DilithiumPrivateKey
| Constructor and Description |
|---|
BCDilithiumPrivateKey(DilithiumPrivateKeyParameters params) |
BCDilithiumPrivateKey(PrivateKeyInfo keyInfo) |
| 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() |
DilithiumParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
DilithiumPublicKey |
getPublicKey()
Return the public key corresponding to this private key.
|
int |
hashCode() |
public BCDilithiumPrivateKey(DilithiumPrivateKeyParameters params)
public BCDilithiumPrivateKey(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 DilithiumPublicKey getPublicKey()
DilithiumPrivateKeygetPublicKey in interface DilithiumPrivateKeypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic DilithiumParameterSpec getParameterSpec()
DilithiumKeygetParameterSpec in interface DilithiumKeypublic java.lang.String getFormat()
getFormat in interface java.security.Key