Switch from Bouncy Castle to Spongy Castle.