public class PublicKey
extends java.lang.Object
| Constructor and Description |
|---|
PublicKey(byte[] bytes)
Creates a new public key.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static PublicKey |
fromHexString(java.lang.String hex)
Creates a public key from a hex string.
|
byte[] |
getRaw()
Gets the raw public key value.
|
int |
hashCode() |
java.lang.String |
toString() |
public PublicKey(byte[] bytes)
bytes - The raw public key value.public static PublicKey fromHexString(java.lang.String hex)
hex - The hex string.public byte[] getRaw()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object