Replaced BouncyCastle by SpongyCastle.