AW: [WSS4J] Unable to initialize Crypto Factory

Dittmann Werner <[email protected]> Thu, 19 Feb 2004 15:28:04 +0100
Newsgroups gmane.text.xml.wss4j
Message-ID <79D5F4B2D775204D9C7852EE41C547730141A5CB@mchh2a1e.mchh.siemens.de>
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3F6F4.3F9EFFC6
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
=20
the message "unknown attr1.3.6.1.4.1.311.17.1" always shows up.=20
We didn't fix it yet, however, the crypto is initialized. The message
is printed by Bouncycastle classes (AFAIK).
=20
Regards,
Werner


-----Urspr=FCngliche Nachricht-----
Von: wss4j-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org =
[mailto:wss4j-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] Im Auftrag von =
Nachiappan Narayanan
Gesendet: Donnerstag, 19. Februar 2004 14:35
An: [email protected]; =
[email protected]; Rajesh Koilpillai; Mukund =
Balasubramanian; Nithya
Betreff: [WSS4J] Unable to initialize Crypto Factory


All,
=20
  Im unable to get the instance of the Crypto. The following line =
itself fails.
=20
 static final Crypto crypto =3D CryptoFactory.getInstance();

  When i compile and run the following program as,=20
        c:\test> java -Dlog4j.configuration=3Dlog.config TestWSSecurity
=20
  I get the following info. on the console,
=20
C:\test>java -Dlog4j.configuration=3Dlog.config TestWSSecurity
2004-02-19 18:42:28,312 [DEBUG] util.Loader          - Trying to find =
[crypto.properties] using [email protected] =
<mailto:[email protected]>  class loader.
2004-02-19 18:42:28,359 [INFO] crypto.CryptoFactory - Using Crypto =
Engine [org.apache.ws.security.components.crypto.Merlin]
unknown attr1.3.6.1.4.1.311.17.1
=20
  How do i resolve this?
=20
  Am i doing any mistake?
=20
Regards,
Nachiappan.N


------_=_NextPart_001_01C3F6F4.3F9EFFC6
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Nachricht</TITLE>

<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D736392514-19022004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D736392514-19022004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D736392514-19022004><FONT face=3DArial =
color=3D#0000ff size=3D2>the=20
message "<FONT color=3D#000000>unknown attr1.3.6.1.4.1.311.17.1" always =
shows up.=20
</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D736392514-19022004><FONT color=3D#0000ff><FONT =
face=3DArial=20
color=3D#000000 size=3D2>We didn't fix it yet, however, the crypto is =
initialized.=20
The message</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D736392514-19022004><FONT color=3D#0000ff><FONT =
face=3DArial=20
color=3D#000000 size=3D2>is printed by Bouncycastle classes=20
(AFAIK).</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D736392514-19022004><FONT color=3D#0000ff><FONT =
face=3DArial=20
color=3D#000000 size=3D2></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D736392514-19022004><FONT color=3D#0000ff><FONT =
face=3DArial=20
color=3D#000000 size=3D2>Regards,</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D736392514-19022004><FONT color=3D#0000ff><FONT =
face=3DArial=20
color=3D#000000 size=3D2>Werner</FONT></DIV>
<DIV><BR></DIV></FONT></SPAN>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Dde dir=3Dltr =
align=3Dleft><FONT face=3DTahoma=20
  size=3D2>-----Urspr=FCngliche Nachricht-----<BR><B>Von:</B>=20
  wss4j-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org=20
  [mailto:wss4j-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] <B>Im Auftrag von=20
  </B>Nachiappan Narayanan<BR><B>Gesendet:</B> Donnerstag, 19. Februar =
2004=20
  14:35<BR><B>An:</B> [email protected];=20
  [email protected]; Rajesh Koilpillai; Mukund =
Balasubramanian;=20
  Nithya<BR><B>Betreff:</B> [WSS4J] Unable to initialize Crypto=20
  Factory<BR><BR></FONT></DIV>
  <DIV>
  <DIV>
  <DIV><FONT face=3DArial size=3D2>All,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp; Im unable to get the instance =
of the=20
  Crypto. The following line itself fails.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;static final Crypto crypto =3D =

  CryptoFactory.getInstance();<BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;When i compile and run =
the following=20
  program as, </FONT><FONT face=3DArial size=3D2></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; c:\test&gt;=20
  java -Dlog4j.configuration=3Dlog.config TestWSSecurity</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp; I get the following info. on =
the=20
  console,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial=20
  size=3D2>C:\test&gt;java&nbsp;-Dlog4j.configuration=3Dlog.config=20
  TestWSSecurity<BR>2004-02-19 18:42:28,312 [DEBUG]=20
  util.Loader&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - =
Trying to=20
  find [crypto.properties] using <A=20
  =
href=3D"mailto:[email protected]">sun.misc.Launche=
[email protected]</A>=20
  class loader.<BR>2004-02-19 18:42:28,359 [INFO] crypto.CryptoFactory =
- Using=20
  Crypto Engine =
[org.apache.ws.security.components.crypto.Merlin]<BR>unknown=20
  attr1.3.6.1.4.1.311.17.1</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp; How do i resolve =
this?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp; Am i doing any =
mistake?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
  <DIV><FONT face=3DArial=20
size=3D2>Nachiappan.N</FONT></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML=
>

------_=_NextPart_001_01C3F6F4.3F9EFFC6--


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click