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

[iaik-jce] ObjectID shortName problem



Good morning,

I try to create a new ObjectID object with a name and a shortName for use in
a certificate.

I do the following:

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

Surprisingly the output is:

	0.9.2342.19200300.100.1.1
	userID
	userID

but I expected the last line to be the shortName "uid".

What am I doing wrong?

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