[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("", "IDEA-CBC",

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
> general)?
> Thanks in advance!
> Vito
> V
> --
> Mailinglist-archive at
> To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the
folowing content: UNSUBSCRIBE iaik-jce