}
String nonce = Base64.encode(dkt.getNonce());
DerivedKeyTokenHeaderBlock dktHeadrBlock =
new DerivedKeyTokenHeaderBlock(securityHeader.getOwnerDocument(), tokenRef, nonce, dkt.getOffset(), dkt.getLength() ,dktId);
// insert the derivedKey into SecurityHeader
secureMessage.findOrCreateSecurityHeader().insertHeaderBlock(dktHeadrBlock);
// set the next sibling to next sibling of derived key token
nextSibling = dktHeadrBlock.getAsSoapElement().getNextSibling();
nxtSiblingContainer[0] = nextSibling;
//Construct the STR for signature