tuweni / org.apache.tuweni.crypto.mikuli / PublicKey / fromBytes

fromBytes

static fun fromBytes(bytes: ByteArray!): PublicKey! (source)

Create a PublicKey from byte array

Parameters

bytes - ByteArray!: the bytes to read the public key from

Return
PublicKey!: a valid public key

static fun fromBytes(bytes: Bytes!): PublicKey! (source)

Create a PublicKey from bytes

Parameters

bytes - Bytes!: the bytes to read the public key from

Return
PublicKey!: a valid public key