serialize

fun serialize(privateNodePrivateKey: PrivateKey): ByteArray

Sign and serialize.