本文整理了Java中org.apache.ws.security.message.WSSecSignature.setDigestAlgo()
方法的一些代码示例,展示了WSSecSignature.setDigestAlgo()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WSSecSignature.setDigestAlgo()
方法的具体详情如下:
包路径:org.apache.ws.security.message.WSSecSignature
类名称:WSSecSignature
方法名:setDigestAlgo
[英]Set the string that defines which digest algorithm to use. The default is Constants.ALGO_ID_DIGEST_SHA1.
[中]设置定义要使用的摘要算法的字符串。默认值为常量。ALGO_ID_DIGEST_SHA1。
代码示例来源:origin: org.apache.rampart/rampart-core
supportingSig.setDigestAlgo(rmd.getPolicyData().getAlgorithmSuite().getDigest());
代码示例来源:origin: org.apache.rampart/rampart-core
sig.setSignatureAlgorithm(algorithmSuite.getAsymmetricSignature());
sig.setSigCanonicalization(algorithmSuite.getInclusiveC14n());
sig.setDigestAlgo(algorithmSuite.getDigest());
代码示例来源:origin: CyberSource/cybersource-sdk-java
sign.setDigestAlgo(DIGEST_ALGORITHM);
sign.setSignatureAlgorithm(SIGNATURE_ALGORITHM);
sign.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE);
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.wss4j
wsSign.setDigestAlgo(reqData.getSigDigestAlgorithm());
代码示例来源:origin: org.apache.ws.security/wss4j
wsSign.setDigestAlgo(reqData.getSigDigestAlgorithm());
代码示例来源:origin: org.apache.rampart/rampart-core
sig.setDigestAlgo(rpd.getAlgorithmSuite().getDigest());
代码示例来源:origin: org.apache.ws.security/wss4j
sign.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING);
if (reqData.getSigDigestAlgorithm() != null) {
sign.setDigestAlgo(reqData.getSigDigestAlgorithm());
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.wss4j
sign.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING);
if (reqData.getSigDigestAlgorithm() != null) {
sign.setDigestAlgo(reqData.getSigDigestAlgorithm());
代码示例来源:origin: org.apache.rampart/rampart-core
sig.setDigestAlgo(algorithmSuite.getDigest());
sig.prepare(rmd.getDocument(), RampartUtil.getSignatureCrypto(rpd
.getRampartConfig(), rmd.getCustomClassLoader()),
内容来源于网络,如有侵权,请联系作者删除!