public class BCKyberPublicKey extends java.lang.Object implements KyberPublicKey
| Constructor and Description |
|---|
BCKyberPublicKey(KyberPublicKeyParameters params) |
BCKyberPublicKey(SubjectPublicKeyInfo keyInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this Kyber public key with another object.
|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
KyberParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
int |
hashCode() |
public BCKyberPublicKey(KyberPublicKeyParameters params)
public BCKyberPublicKey(SubjectPublicKeyInfo keyInfo) throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the other objectpublic int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic KyberParameterSpec getParameterSpec()
KyberKeygetParameterSpec in interface KyberKey