Class BCqTESLAPublicKey
- java.lang.Object
-
- org.bouncycastle.pqc.jcajce.provider.qtesla.BCqTESLAPublicKey
-
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,QTESLAKey
public class BCqTESLAPublicKey extends Object implements PublicKey, QTESLAKey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BCqTESLAPublicKey(SubjectPublicKeyInfo keyInfo)
BCqTESLAPublicKey(QTESLAPublicKeyParameters 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()
-
-
-
Constructor Detail
-
BCqTESLAPublicKey
public BCqTESLAPublicKey(QTESLAPublicKeyParameters keyParams)
-
BCqTESLAPublicKey
public BCqTESLAPublicKey(SubjectPublicKeyInfo keyInfo) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getAlgorithm
public final String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
getParams
public QTESLAParameterSpec getParams()
Description copied from interface:QTESLAKey
Return the parameters for this key - in this case the security category.
-
-