SOFTHSM-71: Update the code so that it works with Botan 1.11