transforms
.addTransform(Transforms.TRANSFORM_C14N_EXCL_OMIT_COMMENTS);
keyBindingAuthSignature.addDocument(
prototypeKeyBindingRefId, transforms,
MessageDigestAlgorithm.ALGO_ID_DIGEST_SHA1);
keyBindingAuthSignature.sign(key);
authentication
.setKeyBindingAuthentication(keyBindingAuthSignature);
} catch (XMLSecurityException xse) {
throw new XKMSException(xse);