Here are some:

http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/components/crypto/CryptoProviderTest.java?revision=1503186&view=co

What version of WSS4J? What does the request look like that is generating
that error + what core are you using to generate it?

Colm.


On Wed, Aug 6, 2014 at 9:35 AM, Adrian Williamson <[email protected]>
wrote:

> Hi,
>
> Has anyone got an example of how this method can be used?
>
> I've trying different values for the WSSecEncrypt.setKeyIdentifierType()
> but
> I keep getting application specific error messages back from the private
> service I'm calling.
>
> One of the error messages made me stop and ponder the extent of my
> ignorance;
>
> WSConstants.X509_KEY_IDENTIFIER it returned:
>
> An invalid security token was provided (Bad ValueType
> "
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-
> 1.0#X509v3")
>
> So I thought if someone had a nice little test case that used an X509
> certificate to encrypt it might help me along.
>
> So I can see how it is supposed to be done.
>
> Thanks
>
> Adrian
>
>
>
>
>


-- 
Colm O hEigeartaigh

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

Reply via email to