340341342343344345346347
if(soapVersion == SOAPVersion.SOAP_11) { eht.setMustUnderstand(true); }else if(soapVersion == SOAPVersion.SOAP_12){ eht.setMustUnderstand12(true); } EncryptedHeader eh = new EncryptedHeader(eht, data, key, soapVersion); return eh; }
325326327328329330331332