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

Re: [iaik-jce] AlgorithmID for IDEA



You can create and register a new algorithmID by using the

 public AlgorithmID(String objectID, String name, String implementationName)

constructor of the AlgorithmID class, where "objectID" specifies the "OID"
string, name the name of the algorithm, and "implementationName" a
transformation string that will work on Cipher.getInstance(...).

For IDEA you may use:

AlgorithmID idea_CBC = AlgorithmID("1.3.6.1.4.1.188.7.1.1.2", "IDEA-CBC",
"IDEA/CBC/PKCS5Padding");

Dieter Bratko

----- Original Message -----
From: Ingrassia Vito <ingrassi@cefriel.it>
To: <iaik-jce@iaik.tu-graz.ac.at>
Sent: Tuesday, July 27, 1999 3:46 PM
Subject: [iaik-jce] AlgorithmID for IDEA


> Hello,
>
> I want  to use IDEA cipher in creating a digital envelop
> using  PKCS7   EnvelopedDataStream  class .
>  I need  an AlgorithmID object to pass as parameter in this code
> ^^^^EnvelopedDataStream   enveloped_data = new
> EnvelopedDataStream(dataStream,  ???) ^^^^
> as shown in documentation  but in case of  using  3DES cipher:
> EnvelopedDataStream enveloped_data = new EnvelopedDataStream(dataStream,
> AlgorithmID.des_EDE3_CBC).
> HoW to create an AlgorithmID object   for IDEA cipher (and  any algorithm
in
> general)?
> Thanks in advance!
> Vito
> V
>
>
>
>
> --
> 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