gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-22 18:17:05 25 4
gpt4 key购买 nike

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

WSSecSignature.setKeyIdentifierType介绍

暂无

代码示例

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

wsSecSignature.setKeyIdentifierType(WSConstants.CUSTOM_KEY_IDENTIFIER);
wsSecSignature
    .setCustomTokenValueType(WSConstants.WSS_SAML_KI_VALUE_TYPE);

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

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

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

sign.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE);
sign.setUseSingleCertificate(true);

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

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

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

wsSign.setKeyIdentifierType(reqData.getSigKeyId());

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

wsSign.setKeyIdentifierType(reqData.getSigKeyId());

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

sig.setSignatureAlgorithm(algorithmSuite.getAsymmetricSignature());
sig.setSignatureAlgorithm(algorithmSuite.getSymmetricSignature());
sig.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING);
sig.prepare(rmd.getDocument(), RampartUtil.getSignatureCrypto(rpd
    .getRampartConfig(), rmd.getCustomClassLoader()),

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

sig.setSignatureAlgorithm(algorithmSuite.getAsymmetricSignature());
sig.setSignatureAlgorithm(algorithmSuite.getSymmetricSignature());
sig.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING);
sig.prepare(rmd.getDocument(), RampartUtil.getSignatureCrypto(rpd
    .getRampartConfig(), rmd.getCustomClassLoader()),

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

sign.setCustomTokenId(builder.getId());
sign.setSecretKey(builder.getSecretKey());
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.setCustomTokenId(builder.getId());
sign.setSecretKey(builder.getSecretKey());
sign.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING);
if (reqData.getSigDigestAlgorithm() != null) {
  sign.setDigestAlgo(reqData.getSigDigestAlgorithm());

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

sig.setCustomTokenValueType(WSConstants.SOAPMESSAGE_NS11 + "#"
      + WSConstants.ENC_KEY_VALUE_TYPE);
  sig.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING);
} else {
  sig.setKeyIdentifierType(WSConstants.ENCRYPTED_KEY_SHA1_IDENTIFIER);
sig.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING);
sig.setKeyIdentifierType(WSConstants.CUSTOM_SYMM_SIGNING);
OMElement ref = tok.getAttachedReference();
if(ref == null) {

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com