Colm,

Thank you very much for sharing your experience. At least now I know that I'm walking on unstable ground.

Regards.
-- Vadim

On 23.01.2012 16:19, Colm O hEigeartaigh wrote:
I already read your article (BTW, thank you for writing it!), but haven't found 
how to declare custom AlgorithmSuite in WSDL properly.
It is the right way?
<wss:AlgorithmSuite>
    <wsp:Policy>
        <someNameSpace:customSuite />
    </wsp:Policy>
</wss:AlgorithmSuite>
There is no "proper" way of declaring custom AlgorithmSuites in the
WSDL, as it's not supported in the WS-SP specification, as you point
out. The example that was linked in the blog just overrides the
Basic128 AlgorithmSuite to allow 512 bit asymmetric keys. Your policy
statement above looks fine to me though.

Colm.

On Mon, Jan 23, 2012 at 11:56 AM, Vadim Dmitriev<[email protected]>  wrote:
I already read your article (BTW, thank you for writing it!), but haven't found 
how to declare custom AlgorithmSuite in WSDL properly.
It is the right way?
<wss:AlgorithmSuite>
    <wsp:Policy>
        <someNameSpace:customSuite />
    </wsp:Policy>
</wss:AlgorithmSuite>

WS-SP specification doesn't define how to extend AS, only lists predefined 
algorithms, so I'm afraid to use some unspecified controversial approach which 
won't be supported anywhere except CXF.

P.S.
Honestly, I was looking for something like
<AlgorithmSuite id="customSuite">
    <DigestAlgorithm id="..." />
    <EncryptionAlgorithm id="..." />
</AlgorithmSuite>
This way 3rd parties will have algorithm IDs to use in WS-S header (i.e. these 
IDs will be declared in WSDL, not in some external convention).

--Vadim


Reply via email to