Implement getting verification cancellation info in Rust crypto (#3947)
* implement verification cancellation info in Rust crypto
* fix type info
* use string cancel code and add test
* simplify code
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>