public class BCNHPrivateKey extends Object implements NHPrivateKey
Constructor and Description |
---|
BCNHPrivateKey(org.bouncycastle.pqc.crypto.newhope.NHPrivateKeyParameters params) |
BCNHPrivateKey(org.bouncycastle.asn1.pkcs.PrivateKeyInfo keyInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compare this NH private key with another object.
|
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
short[] |
getSecretData() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed
public BCNHPrivateKey(org.bouncycastle.pqc.crypto.newhope.NHPrivateKeyParameters params)
public BCNHPrivateKey(org.bouncycastle.asn1.pkcs.PrivateKeyInfo keyInfo) throws IOException
IOException
public boolean equals(Object o)
public final String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
public short[] getSecretData()
getSecretData
in interface NHPrivateKey
Copyright © 2017 BouncyCastle.org. All rights reserved.