when running integration tests, the provider is Bouncy Castle, and the errors are slighgtly different