You can use BouncyCastle with the Merlin Crypto implementation. Simply add
the property:

org.apache.ws.security.crypto.merlin.keystore.provider=BC
org.apache.ws.security.crypto.merlin.cert.provider=BC

Colm.


On Tue, Feb 18, 2014 at 1:27 PM, Giriraj Bhojak <girira...@gmail.com> wrote:

> We have a specific requirement to use Bouncy Castle in the project.
> Does this mean we can't use Bouncy Castle at all in the latest version of
> wss4j?
>
> Thanks,
> Giriraj.
> On Feb 18, 2014 4:51 AM, "Colm O hEigeartaigh" <cohei...@apache.org>
> wrote:
>
>>
>> From what I recall, there was essentially little difference between the
>> Merlin and BouncyCastle Crypto implementations, hence the latter was
>> removed in WSS4J 1.6.x. Why do you need to use the BouncyCastle
>> implementation, i.e. what is the Merlin implementation not doing for you?
>>
>> Colm.
>>
>>
>> On Mon, Feb 17, 2014 at 7:56 PM, Giriraj Bhojak <girira...@gmail.com>wrote:
>>
>>> Hello,
>>>
>>> I need to use Bouncy Castle provider with WSS4J 1.6.13.
>>> Merlin is used by default since 1.6.x.
>>> Could anyone explain why this was done?
>>> I mean was there something with Bouncy Castle that prompted this change?
>>>
>>> And is following set of keys the right way to use Bouncy Castle with
>>> WSS4J (found this from
>>> https://community.oracle.com/thread/1529571?tstart=1872)?
>>>
>>> org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.BouncyCastle
>>> org.apache.ws.security.crypto.merlin.keystore.type=PKCS12
>>> org.apache.ws.security.crypto.merlin.keystore.password=password
>>> org.apache.ws.security.crypto.merlin.keystore.alias=alias
>>> org.apache.ws.security.crypto.merlin.alias.password=password
>>>
>>>
>>>
>>> Regards,
>>> Giriraj.
>>>
>>
>>
>>
>> --
>> Colm O hEigeartaigh
>>
>> Talend Community Coder
>> http://coders.talend.com
>>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to