Class BCNHPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.newhope.BCNHPrivateKey
- All Implemented Interfaces:
Serializable,Key,PrivateKey,Destroyable,NHKey,NHPrivateKey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBCNHPrivateKey(PrivateKeyInfo keyInfo) BCNHPrivateKey(NHPrivateKeyParameters params) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
Constructor Details
-
BCNHPrivateKey
-
BCNHPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this NH private key with another object. -
hashCode
public int 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
-