TSM_ASSERT_EQUALS(
"Certificate and its key produced different hashed encodings",
- SecurityHelper::getDEREncoding(*certs[2], true), SecurityHelper::getDEREncoding(*key1.get(), true)
+ SecurityHelper::getDEREncoding(*certs[2], "SHA1"), SecurityHelper::getDEREncoding(*key1.get(), "SHA1")
);
TSM_ASSERT_EQUALS(
"Certificate and its key produced different hashed encodings",
- SecurityHelper::getDEREncoding(*certs[2], true, true, "SHA256"), SecurityHelper::getDEREncoding(*key1.get(), true, true, "SHA256")
+ SecurityHelper::getDEREncoding(*certs[2], "SHA256"), SecurityHelper::getDEREncoding(*key1.get(), "SHA256")
);
for_each(certs.begin(), certs.end(), xmltooling::cleanup<XSECCryptoX509>());