You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Davanum Srinivas <di...@yahoo.com> on 2004/09/01 07:17:03 UTC
Re: WSS4J x.509 certificate token
forwarding to mailing list...
-- dims
--- gloria satgunam <gl...@gmail.com> wrote:
> Hi Davanum, Werner,
>
> I have been taking a look at the WSS4J code on Apache and have been
> pleased to find that it is for the most part compliant with the OASIS
> WSS recommendations.
>
> However, there is one area, the X509 certificate reference within the
> KeyInfo element, that seems to not be interoperable with the
> recommendation.
> In particular, the following document:
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0.pdf
> seems to recommend the following schema:
> <KeyInfo>
> <SecurityTokenReference>
> <X509Data>
> <X509IssuerSerial>
>
> However, in WSS4J that syntax would cause an exception to be thrown.
> It appears that the WSSecurityEngine's verifyXMLSignature(...) method
> looks specifically for:
> <KeyInfo>
> <SecurityTokenReference>
> <X509IssuerSerial>
>
> Was there a specific reason why the class was implemented in such a
> way that the <X509Data> element (which is part of the WSS
> recommendation) causes an exception to be thrown?
> Also do you know if there are plans to update this class in the near
> future? In addition, would it be possible to update the
> WSEncryptBody's build method which adds the X509IssuerSerial as a
> child of the SecurityTokenReference?
>
> I realize I may be incorrect in my understanding of either the WSS
> reccommendations or my analysis of the WSS4J code - and if so, please
> correct me and accept my apologies.
>
> Thank you so much for your time,
> ~gloria
>
=====
Davanum Srinivas - http://webservices.apache.org/~dims/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com