Class BCNTRUPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.ntru.BCNTRUPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, NTRUKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParamsMethods inherited from interface Destroyable
destroy, isDestroyed
-
Constructor Details
-
BCNTRUPrivateKey
-
BCNTRUPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
-
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
-