2017-07-12 6 views
0

私は3.0.4バージョンのapache cxfフレームワークで署名付きsoapメッセージに問題があります。私はapache cxf wss4j署名方式dsaからrsa

<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"/> 

ある構成でwss4jOutInterceptorを使用して、私は、私はこの部分を構成することができますどのように、

タンクにあなたを使用RSAアルゴリズムをしたいと思います。

答えて

0

使用するハッシュ関数によっては、several RSA algorithmsのいずれかを選択できます。
たとえば、http://www.w3.org/2000/09/xmldsig#rsa-sha1です。

関連する問題