There is a function called,
AXIS2_EXTERN axis2_char_t *AXIS2_CALL
openssl_x509_get_cert_data(const axutil_env_t *env,
X509 *cert)
which returns the delimiter removed string. But it takes X509 pointer
which is defined in openssl. So i think Chinthana's patch will be
useful.
Thanks,
-Manjula.
On Mon, 2008-05-05 at 14:34 +0530, Samisa Abeysinghe wrote:
> Uthaiyashankar wrote:
> > Chintana Wilamuna wrote:
> >> Hi,
> >>
> >> During the development of WSF/Perl, I got to know that Rampart expects
> >> the certificate to be without the delimiters. Although this could
> >> easily be done using which ever the scripting language, I think this
> >> should be done in Rampart itself. Just like the newline removing
> >> function oxs_util_get_newline_removed_string. I wrote a very simple
> >> function to get rid of the delimiters if those are present.
> >>
> >> I would like to know whether there are any reasons not to do that
> >> within Rampart before sending a patch.
> >>
> >
> > AFAIK There were no such reasons not to do that in Rampart :). +1
> > checking it and doing it in rampart.
>
> OK, so raise a Jira and attach the patch.
>
> Samisa...
>
> >
> > Regards,
> > Shankar.
> >> Thanks in advance,
> >>
> >> Bye,
> >>
> >> -Chintana
> >>
> >>
> >
> >
>
>