To remove dependency of ncsa BouncyCastle.