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