throw new IllegalArgumentException("Unexpected error: " + t);
}
}
// sign the new entry
signedNode = signer.sign(entry,
getSignatureOptions(signer, signingKeys));
signatureElement = signedNode.getFirstChild(new QName(
"http://www.w3.org/2000/09/xmldsig#", "Signature"));
keyInfo = signatureElement.getFirstChild(new QName(
"http://www.w3.org/2000/09/xmldsig#", "KeyInfo"));