integrity: support new struct public_key_signature encoding field