prepare(doc, cr, secHeader); if (parts == null) { parts = new ArrayList<WSEncryptionPart>(1);
prepare(doc, cr, secHeader); if (parts == null) { parts = new ArrayList<WSEncryptionPart>(1);
wsSecSignature.setCustomTokenId(assertionId); Crypto crypto = new WSSecurityCrypto(this.privateKey, null); wsSecSignature.prepare(soapPart, crypto, wsSecHeader); Vector<WSEncryptionPart> signParts = new Vector<>(); SOAPConstants soapConstants = WSSecurityUtil.getSOAPConstants(soapPart
WSSecSignature sign = new WSSecSignature(wssConfig); sign.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE); sign.prepare(soapPart, crypto, wsSecHeader); String bstId = sign.getBSTTokenId(); sign.appendBSTElementToHeader(wsSecHeader);
sig.prepare(rmd.getDocument(), RampartUtil.getSignatureCrypto(rampartConfig, rmd.getCustomClassLoader()), rmd.getSecHeader()); } catch (WSSecurityException e) {
WSSecSignature sign = new WSSecSignature(wssConfig); sign.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE); sign.prepare(soapPart, crypto, wsSecHeader); sign.appendBSTElementToHeader(wsSecHeader); Vector<WSEncryptionPart> signParts = new Vector<WSEncryptionPart>();
wsSign.prepare(doc, reqData.getSigCrypto(), reqData.getSecHeader());
wsSign.prepare(doc, reqData.getSigCrypto(), reqData.getSecHeader());
sig.setSignatureAlgorithm(algorithmSuite.getSymmetricSignature()); sig.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING); sig.prepare(rmd.getDocument(), RampartUtil.getSignatureCrypto(rpd .getRampartConfig(), rmd.getCustomClassLoader()), rmd.getSecHeader());
sig.setSignatureAlgorithm(algorithmSuite.getSymmetricSignature()); sig.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING); sig.prepare(rmd.getDocument(), RampartUtil.getSignatureCrypto(rpd .getRampartConfig(), rmd.getCustomClassLoader()), rmd.getSecHeader());
sign.prepare(doc, null, reqData.getSecHeader());
sign.prepare(doc, null, reqData.getSecHeader());
sig.prepare(rmd.getDocument(), RampartUtil.getSignatureCrypto(rpd .getRampartConfig(), rmd.getCustomClassLoader()), rmd.getSecHeader());