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

Re: [iaik-jce] IAIK-JCE internal Error



Itīs right, this is documented not before JCE 2.51.
However, 2.5 should raise an exception also when creating a self-signed
certificate with uniqueIdentifier string value. It only should be able to
parse such a certificate.

Dieter Bratko

----- Original Message -----
From: Michel Drescher <Michel.Drescher@pallas.com>
To: <iaik-jce@iaik.tu-graz.ac.at>; <Dieter.Bratko@iaik.at>
Sent: Friday, June 25, 1999 9:37 AM
Subject: Re: [iaik-jce] IAIK-JCE internal Error


> Folks,
>
> > [...]
> > Notice that JCE2.51 alternatively allows a String value for the
> > uniqueIdentifier attribute, since some certificates interpret the
> value of
> > the BIT_STRING uniqueIdentifier as DER encoded PrintableString. (see
> the
> > Javadoc for more information).
> >
> > You also may change the encoding type when creating a AVA by means
> of the
> > defineEncoding(ObjectID type, ASN encodingType) (see the Javadoc)
> >
> > Maybe that this will solve the problem.
> >
>
> thanks a lot, this hint fixed it. But I didn't find any specific
> documentation that the X.500 uniqueIdentifier field should be feeded
> in a a BIT_STRING.
> Additionally, I created a self signed certificte, having a
> uniqueIdentifier field, and everything went fine...
>
> Michel
>
> // pallas  GmbH  ............  Michel Drescher  .........
>    Hermuelheimer Str. 10       Analyst
>    D-50321 Bruehl, Germany     drescher@pallas.com
>    fax +49-(0)2232-1896-29     phone  +49-(0)2232-1896-0
>    http://www.pallas.de        direct +49-(0)2232-1896-30
> .........................................................
>
>
> --
> 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
>
>
>


smime.p7s