[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [iaik-jce] ObjectID shortName problem



I am sorry but I probably misunderstood the register() method in ObjectID.

What I exactly did (and didn't write in the previously posted code) was the
following:

	ObjectID oid = new ObjectID("0.9.2342.19200300.100.1.1","userID","uid");
      ObjectID.register(oid, "userID");
	System.out.println(oid.getID());
	System.out.println(oid.getName());
	System.out.println(oid.getShortName());

That is I also registered the new oid under its name "userID". However, when
I do this the shortName is overridden with the name. I don't understand why.
How can I register a new ObjectID with a name and a shortName?

Best regards

Thomas Ernst

--
Mailinglist-archive at http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-jce/maillist.html

To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the folowing content: UNSUBSCRIBE iaik-jce