serialize

open override fun serialize(): ByteArray

You need to serialize and deserialize even if locked