Modify to support CasHmac Signature.