Class BCNHPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.newhope.BCNHPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, NHKey, NHPrivateKey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBCNHPrivateKey(PrivateKeyInfo keyInfo) BCNHPrivateKey(NHPrivateKeyParameters params) -
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
-
BCNHPrivateKey
-
BCNHPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "NH"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getFormat
-
getSecretData
public short[] getSecretData()- Specified by:
getSecretDatain interfaceNHPrivateKey
-