CLPublicKey

@JsonSerialize(using = scala.Predef.classOf[com.casper.sdk.json.serialize.CLPublicKeySerializer]) @JsonDeserialize(using = scala.Predef.classOf[com.casper.sdk.json.deserialize.CLPublicKeyDeserializer]) class CLPublicKey(val bytes: Array[Byte], val keyAlgorithm: KeyAlgorithm) extends Tag

CLPublicKey : Casper system public key

Companion
object
trait Tag
class Object
trait Matchable
class Any
class Signature

Value members

Concrete methods

override def equals(obj: Any): Boolean

equals

equals

Returns

Boolean

Definition Classes
Any
def formatAsByteAccount: Array[Byte]

format to Byte array with algorithm

format to Byte array with algorithm

def formatAsHexAccount: Option[String]

format to Hex account , ie : 0106cA7c39cD272DbF21a86EeB3B36B7c26E2e9b94af64292419f7862936bcA2cA, 01 being tag bytes

format to Hex account , ie : 0106cA7c39cD272DbF21a86EeB3B36B7c26E2e9b94af64292419f7862936bcA2cA, 01 being tag bytes

override def hashCode(): Int

hashCode

hashCode

Returns

Int

Definition Classes
Any
def tag: Int

tag =1

tag =1

def toPemString(): String

Write public key to pem file

Write public key to pem file

override def toString: String

toString

toString

Returns

String

Definition Classes
Any
def verifySignature(msg: Array[Byte], signature: Array[Byte]): Boolean

Verifies a signed message

Verifies a signed message

Value Params
msg

the message to sign

signature

signature of the signed message

Returns

true if the signature is valid and false if not

Concrete fields

val bytes: Array[Byte]