public class BCHQCPublicKey extends java.lang.Object implements java.security.PublicKey, HQCKey
Constructor and Description |
---|
BCHQCPublicKey(HQCPublicKeyParameters params) |
BCHQCPublicKey(SubjectPublicKeyInfo keyInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this HQC public key with another object.
|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
HQCParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
int |
hashCode() |
public BCHQCPublicKey(HQCPublicKeyParameters params)
public BCHQCPublicKey(SubjectPublicKeyInfo keyInfo) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the other objectpublic int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public HQCParameterSpec getParameterSpec()
HQCKey
getParameterSpec
in interface HQCKey