public class BCNTRUPrivateKey extends java.lang.Object implements java.security.PrivateKey, NTRUKey
| Constructor and Description |
|---|
BCNTRUPrivateKey(NTRUPrivateKeyParameters params) |
BCNTRUPrivateKey(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() |
NTRUParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
int |
hashCode() |
public BCNTRUPrivateKey(NTRUPrivateKeyParameters params)
public BCNTRUPrivateKey(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 NTRUParameterSpec getParameterSpec()
NTRUKeygetParameterSpec in interface NTRUKeypublic java.lang.String getFormat()
getFormat in interface java.security.Key