static fun fromBytes(bytes: Bytes): PublicKey
(source)static fun fromBytes(bytes: ByteArray): PublicKey
(source)
Create a PublicKey from an array of bytes.
The byte array must be of length #length()
.
bytes
- The bytes for the public key.
Return
A public key.