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

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

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

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()),

相关文章