Bouncy Castle Cryptography Library 1.69

org.bouncycastle.pqc.jcajce.provider.qtesla
Class BCqTESLAPublicKey

java.lang.Object
  |
  +--org.bouncycastle.pqc.jcajce.provider.qtesla.BCqTESLAPublicKey
All Implemented Interfaces:
java.security.Key, java.security.PublicKey, QTESLAKey, java.io.Serializable

public class BCqTESLAPublicKey
extends java.lang.Object
implements java.security.PublicKey, QTESLAKey

See Also:
Serialized Form

Fields inherited from interface java.security.PublicKey
serialVersionUID
 
Constructor Summary
BCqTESLAPublicKey(QTESLAPublicKeyParameters keyParams)
           
BCqTESLAPublicKey(SubjectPublicKeyInfo keyInfo)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.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
 

Constructor Detail

BCqTESLAPublicKey

public BCqTESLAPublicKey(QTESLAPublicKeyParameters keyParams)

BCqTESLAPublicKey

public BCqTESLAPublicKey(SubjectPublicKeyInfo keyInfo)
                  throws java.io.IOException
Method Detail

getAlgorithm

public final java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface java.security.Key
Returns:
name of the algorithm

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface java.security.Key

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface java.security.Key

getParams

public QTESLAParameterSpec getParams()
Description copied from interface: QTESLAKey
Return the parameters for this key - in this case the security category.
Specified by:
getParams in interface QTESLAKey
Following copied from interface: org.bouncycastle.pqc.jcajce.interfaces.QTESLAKey
Returns:
a QTESLAParameterSpec

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Bouncy Castle Cryptography Library 1.69