Class BCqTESLAPrivateKey
- java.lang.Object
-
- org.bouncycastle.pqc.jcajce.provider.qtesla.BCqTESLAPrivateKey
-
- All Implemented Interfaces:
Serializable
,Key
,PrivateKey
,Destroyable
,QTESLAKey
public class BCqTESLAPrivateKey extends Object implements PrivateKey, QTESLAKey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BCqTESLAPrivateKey(PrivateKeyInfo keyInfo)
BCqTESLAPrivateKey(QTESLAPrivateKeyParameters keyParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAlgorithm()
byte[]
getEncoded()
String
getFormat()
QTESLAParameterSpec
getParams()
Return the parameters for this key - in this case the security category.int
hashCode()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
-
-
-
Constructor Detail
-
BCqTESLAPrivateKey
public BCqTESLAPrivateKey(QTESLAPrivateKeyParameters keyParams)
-
BCqTESLAPrivateKey
public BCqTESLAPrivateKey(PrivateKeyInfo keyInfo) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getAlgorithm
public final String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm
-
getParams
public QTESLAParameterSpec getParams()
Description copied from interface:QTESLAKey
Return the parameters for this key - in this case the security category.
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
-