- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.apache.ws.security.message.WSSecSignature.prepare()
方法的一些代码示例,展示了WSSecSignature.prepare()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WSSecSignature.prepare()
方法的具体详情如下:
包路径:org.apache.ws.security.message.WSSecSignature
类名称:WSSecSignature
方法名:prepare
[英]Initialize a WSSec Signature. The method sets up and initializes a WSSec Signature structure after the relevant information was set. After setup of the references to elements to sign may be added. After all references are added they can be signed. This method does not add the Signature element to the security header. See prependSignatureElementToHeader()
method.
[中]初始化WSSec签名。该方法在设置相关信息后设置并初始化WSSec签名结构。设置后,可以添加对要签名的元素的引用。添加所有引用后,可以对其进行签名。此方法不会将签名元素添加到安全标头。参见prependSignatureElementToHeader()
方法。
代码示例来源:origin: org.apache.ws.security/wss4j
prepare(doc, cr, secHeader);
if (parts == null) {
parts = new ArrayList<WSEncryptionPart>(1);
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.wss4j
prepare(doc, cr, secHeader);
if (parts == null) {
parts = new ArrayList<WSEncryptionPart>(1);
代码示例来源:origin: be.e_contract.mycarenet/mycarenet-ehealth-common
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
代码示例来源:origin: be.e_contract.mycarenet/mycarenet-ehealth-saml-sts
WSSecSignature sign = new WSSecSignature(wssConfig);
sign.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE);
sign.prepare(soapPart, crypto, wsSecHeader);
String bstId = sign.getBSTTokenId();
sign.appendBSTElementToHeader(wsSecHeader);
代码示例来源:origin: org.apache.rampart/rampart-core
sig.prepare(rmd.getDocument(), RampartUtil.getSignatureCrypto(rampartConfig, rmd.getCustomClassLoader()),
rmd.getSecHeader());
} catch (WSSecurityException e) {
代码示例来源:origin: be.fedict.eid-trust-service/eid-trust-service-xkms2-ws-impl
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>();
代码示例来源:origin: org.apache.ws.security/wss4j
wsSign.prepare(doc, reqData.getSigCrypto(), reqData.getSecHeader());
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.wss4j
wsSign.prepare(doc, reqData.getSigCrypto(), reqData.getSecHeader());
代码示例来源:origin: org.apache.rampart/rampart-core
sig.setSignatureAlgorithm(algorithmSuite.getSymmetricSignature());
sig.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING);
sig.prepare(rmd.getDocument(), RampartUtil.getSignatureCrypto(rpd
.getRampartConfig(), rmd.getCustomClassLoader()),
rmd.getSecHeader());
代码示例来源:origin: org.apache.rampart/rampart-core
sig.setSignatureAlgorithm(algorithmSuite.getSymmetricSignature());
sig.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING);
sig.prepare(rmd.getDocument(), RampartUtil.getSignatureCrypto(rpd
.getRampartConfig(), rmd.getCustomClassLoader()),
rmd.getSecHeader());
代码示例来源:origin: org.apache.ws.security/wss4j
sign.prepare(doc, null, reqData.getSecHeader());
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.wss4j
sign.prepare(doc, null, reqData.getSecHeader());
代码示例来源:origin: org.apache.rampart/rampart-core
sig.prepare(rmd.getDocument(), RampartUtil.getSignatureCrypto(rpd
.getRampartConfig(), rmd.getCustomClassLoader()),
rmd.getSecHeader());
本文整理了Java中org.apache.ws.security.message.WSSecSignature.getSecurityTokenReferenceURI()方法的一些代码示例,展示了W
本文整理了Java中org.apache.ws.security.message.WSSecSignature.getSigningCerts()方法的一些代码示例,展示了WSSecSignature
本文整理了Java中org.apache.ws.security.message.WSSecSignature.getInclusivePrefixes()方法的一些代码示例,展示了WSSecSign
本文整理了Java中org.apache.ws.security.message.WSSecSignature.setParts()方法的一些代码示例,展示了WSSecSignature.setPar
本文整理了Java中org.apache.ws.security.message.WSSecSignature.setSigCanonicalization()方法的一些代码示例,展示了WSSecSi
本文整理了Java中org.apache.ws.security.message.WSSecSignature.setDigestAlgo()方法的一些代码示例,展示了WSSecSignature.s
本文整理了Java中org.apache.ws.security.message.WSSecSignature.getBSTTokenId()方法的一些代码示例,展示了WSSecSignature.g
本文整理了Java中org.apache.ws.security.message.WSSecSignature.getSignatureValue()方法的一些代码示例,展示了WSSecSignatu
本文整理了Java中org.apache.ws.security.message.WSSecSignature.appendBSTElementToHeader()方法的一些代码示例,展示了WSSec
本文整理了Java中org.apache.ws.security.message.WSSecSignature.setSecretKey()方法的一些代码示例,展示了WSSecSignature.se
本文整理了Java中org.apache.ws.security.message.WSSecSignature.prependBSTElementToHeader()方法的一些代码示例,展示了WSSe
本文整理了Java中org.apache.ws.security.message.WSSecSignature.setCustomTokenValueType()方法的一些代码示例,展示了WSSecS
本文整理了Java中org.apache.ws.security.message.WSSecSignature.setCustomTokenId()方法的一些代码示例,展示了WSSecSignatur
本文整理了Java中org.apache.ws.security.message.WSSecSignature.setUseSingleCertificate()方法的一些代码示例,展示了WSSecS
本文整理了Java中org.apache.ws.security.message.WSSecSignature.setUserInfo()方法的一些代码示例,展示了WSSecSignature.set
本文整理了Java中org.apache.ws.security.message.WSSecSignature.setSignatureAlgorithm()方法的一些代码示例,展示了WSSecSig
本文整理了Java中org.apache.ws.security.message.WSSecSignature.addReferencesToSign()方法的一些代码示例,展示了WSSecSigna
本文整理了Java中org.apache.ws.security.message.WSSecSignature.()方法的一些代码示例,展示了WSSecSignature.()的具体用法。这些代码示例
本文整理了Java中org.apache.ws.security.message.WSSecSignature.prepare()方法的一些代码示例,展示了WSSecSignature.prepare
本文整理了Java中org.apache.ws.security.message.WSSecSignature.computeSignature()方法的一些代码示例,展示了WSSecSignatur
我是一名优秀的程序员,十分优秀!