throw new SignatureException(LogStringsMessages.WSS_1724_SIGTYPE_VERIFICATION_FAILED("HMAC_SHA1"),ex);
}
}else{
mos.write(si.getCanonicalizedSI());
}
return hmac.verify(signatureValue);
}
@SuppressWarnings("unchecked")
public boolean verifyRSASignature(Key publicKey,SignedInfo si,byte [] signatureValue,String signatureAlgo) throws InvalidKeyException, SignatureException{
if (!(publicKey instanceof PublicKey)) {