Remove outdated hashing algorithms like Sha1 and Md5. Also
update the test cases to replace certificates and CSR signed by
Sha1 with new examples signed by Sha256. Made changes to test
cases so that they match new certificate and CSR examples.
Change-Id: I69d022236b5fde2be1da2e88554c2c76566c8d6c