java.io.Serializable
, java.security.Key
, java.security.PublicKey
, NHKey
, NHPublicKey
public class BCNHPublicKey extends java.lang.Object implements NHPublicKey
Constructor | Description |
---|---|
BCNHPublicKey(SubjectPublicKeyInfo keyInfo) |
|
BCNHPublicKey(NHPublicKeyParameters params) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
Compare this SPHINCS-256 public key with another object.
|
java.lang.String |
getAlgorithm() |
|
byte[] |
getEncoded() |
|
java.lang.String |
getFormat() |
|
byte[] |
getPublicData() |
|
int |
hashCode() |
public BCNHPublicKey(NHPublicKeyParameters params)
public BCNHPublicKey(SubjectPublicKeyInfo keyInfo)
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 byte[] getPublicData()
getPublicData
in interface NHPublicKey