/** * Creates a SignatureConfimation element. * * The method prepares and initializes a WSSec SignatureConfirmation structure after * the relevant information was set. Before calling <code>prepare()</code> the * filed <code>signatureValue</code> must be set * * @param doc The SOAP envelope as W3C document */ public void prepare(Document doc) { sc = new SignatureConfirmation(doc, signatureValue); sc.setID(getWsConfig().getIdAllocator().createId("SC-", sc)); }
/** * Creates a SignatureConfimation element. * * The method prepares and initializes a WSSec SignatureConfirmation structure after * the relevant information was set. Before calling <code>prepare()</code> the * filed <code>signatureValue</code> must be set * * @param doc The SOAP envelope as W3C document */ public void prepare(Document doc) { sc = new SignatureConfirmation(doc, signatureValue); sc.setID(getWsConfig().getIdAllocator().createId("SC-", sc)); }
SignatureConfirmation sigConf = new SignatureConfirmation(elem); String id = sigConf.getID();
SignatureConfirmation sigConf = new SignatureConfirmation(elem); String id = sigConf.getID();