Class BCNTRUPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.ntru.BCNTRUPrivateKey
- All Implemented Interfaces:
Serializable,Key,PrivateKey,Destroyable,NTRUKey
- See Also:
-
Constructor Details
-
BCNTRUPrivateKey
-
BCNTRUPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this SPHINCS-256 private key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "NTRU"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getParameterSpec
Description copied from interface:NTRUKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceNTRUKey- Returns:
- a NTRUParameterSpec
-
getFormat
-