Security apache cxf wss4j签名方法dsa切换到rsa
我在3.0.4版本的ApacheCXF框架中遇到了签名soap消息的小问题。我将wss4jOutInterceptor与配置一起使用Security apache cxf wss4j签名方法dsa切换到rsa,security,soap,cxf,wss4j,Security,Soap,Cxf,Wss4j,我在3.0.4版本的ApacheCXF框架中遇到了签名soap消息的小问题。我将wss4jOutInterceptor与配置一起使用 <bean id="WSS4JOutInterceptor" class="sk.posam.risng.soa.mur.interceptor.security.WSS4JOutInterceptorCustom"> <argument> <map> <entry key=
<bean id="WSS4JOutInterceptor" class="sk.posam.risng.soa.mur.interceptor.security.WSS4JOutInterceptorCustom">
<argument>
<map>
<entry key="action" value="Signature"/>
<entry key="user" value="posam_ssl"/>
<entry key="signatureKeyIdentifier" value="DirectReference"/>
<entry key="passwordCallbackRef">
<ref component-id="passwordCallback"/>
</entry>
<!--tato property musi byt vyplnena inak sa nepusti podpisovanie sprav, avsak property su ulozene v cryptoHolder-->
<entry key="signaturePropFile" value="seeCryptoHolder.properties"/>
</map>
</argument>
<property name="securityEnabled" value="${security.enabled}"/>
<property name="cryptoHolder" ref="cryptoHolder"/>
</bean>
这是我的算法标签
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/>
我想使用rsa算法,如何配置这部分
您可以选择。根据要使用的哈希函数,您可以选择其中一个
例如,
http://www.w3.org/2000/09/xmldsig#rsa-sha1