}
newmsg.propagateValue(newmsg.getPath()+".MsgTail.SegHead.seq",segnum,
SyntaxElement.DONT_TRY_TO_CREATE,
SyntaxElement.ALLOW_OVERWRITE);
newmsg.autoSetMsgSize(gen);
} catch (Exception ex) {
throw new HBCI_Exception("*** error while encrypting",ex);
}
}
else HBCIUtils.log("did not encrypt - message does not want to be encrypted",HBCIUtils.LOG_DEBUG);