org.apache.ws.security.message.WSSecSignature.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(150)

本文整理了Java中org.apache.ws.security.message.WSSecSignature.<init>()方法的一些代码示例,展示了WSSecSignature.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WSSecSignature.<init>()方法的具体详情如下:
包路径:org.apache.ws.security.message.WSSecSignature
类名称:WSSecSignature
方法名:<init>

WSSecSignature.<init>介绍

暂无

代码示例

代码示例来源:origin: be.e_contract.mycarenet/mycarenet-ehealth-common

securityHeaderElement.appendChild(importedAssertionElement);
WSSecSignature wsSecSignature = new WSSecSignature();
wsSecSignature.setSignatureAlgorithm(WSConstants.RSA);
wsSecSignature.setKeyIdentifierType(WSConstants.CUSTOM_KEY_IDENTIFIER);

代码示例来源:origin: be.e_contract.mycarenet/mycarenet-ehealth-saml-sts

WSSConfig wssConfig = new WSSConfig();
wssConfig.setWsiBSPCompliant(false);
WSSecSignature sign = new WSSecSignature(wssConfig);
sign.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE);
sign.prepare(soapPart, crypto, wsSecHeader);

代码示例来源:origin: org.apache.rampart/rampart-core

WSSecSignature sig = new WSSecSignature();
checkForX509PkiPath(sig, token);
sig.setWsConfig(rmd.getConfig());

代码示例来源:origin: CyberSource/cybersource-sdk-java

WSSecSignature sign = new WSSecSignature();

代码示例来源:origin: be.fedict.eid-trust-service/eid-trust-service-xkms2-ws-impl

WSSConfig wssConfig = new WSSConfig();
wssConfig.setWsiBSPCompliant(false);
WSSecSignature sign = new WSSecSignature(wssConfig);
sign.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE);
sign.prepare(soapPart, crypto, wsSecHeader);

代码示例来源:origin: org.apache.ws.security/wss4j

WSPasswordCallback passwordCallback = 
  handler.getPasswordCB(reqData.getSignatureUser(), actionToDo, callbackHandler, reqData);
WSSecSignature wsSign = new WSSecSignature(reqData.getWssConfig());

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.wss4j

WSPasswordCallback passwordCallback = 
  handler.getPasswordCB(reqData.getSignatureUser(), actionToDo, callbackHandler, reqData);
WSSecSignature wsSign = new WSSecSignature(reqData.getWssConfig());

代码示例来源:origin: org.apache.rampart/rampart-core

WSSecSignature sig = new WSSecSignature();
sig.setWsConfig(rmd.getConfig());
String tokId = tok.getId();

代码示例来源:origin: org.apache.rampart/rampart-core

WSSecSignature sig = new WSSecSignature();
sig.setWsConfig(rmd.getConfig());
sig.setCustomTokenId(tok.getId().substring(1));

代码示例来源:origin: org.apache.ws.security/wss4j

WSSecSignature sign = new WSSecSignature(reqData.getWssConfig());
sign.setCustomTokenValueType(WSConstants.USERNAMETOKEN_NS + "#UsernameToken");
sign.setCustomTokenId(builder.getId());

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.wss4j

WSSecSignature sign = new WSSecSignature(reqData.getWssConfig());
sign.setCustomTokenValueType(WSConstants.USERNAMETOKEN_NS + "#UsernameToken");
sign.setCustomTokenId(builder.getId());

代码示例来源:origin: org.apache.rampart/rampart-core

WSSecSignature sig = new WSSecSignature();
sig.setWsConfig(rmd.getConfig());

相关文章