}
public void test_signature_enveloping_hmac_sha1_40() throws Exception {
String file = "signature-enveloping-hmac-sha1-40.xml";
KeySelector ks = new KeySelectors.SecretKeySelector
("secret".getBytes("ASCII") );
try {
boolean coreValidity = validator.validate(file, ks);
fail("Expected HMACOutputLength exception");
} catch (XMLSignatureException xse) {