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

AW: [iaik-jce] Need an asymmetric algo to sign and encrypt



Hello,

RSA usually is not used for data encryption. For your application PKCS#7 (or
immediately S/MIME) maybe suitable using a sequentiell combination of
SignedData and EnvelopedData types. Signing is done by RSA. Data Encryption
is done by a symmetric algorithm using a temporary content encryption key
which itself is encrypted with the recipient´s RSA public key. Each, sender
and recipient may use only one key pair for signing and encryption, although
each of them should use two (different) key pairs.

Regards,
Dieter Bratko

-----Ursprüngliche Nachricht-----
Von: iaik-jce-owner@iaik.tu-graz.ac.at
[mailto:iaik-jce-owner@iaik.tu-graz.ac.at]Im Auftrag von
Thomas.Kuhlmann2@Bertelsmann.de
Gesendet: Donnerstag, 13. Juli 2000 14:03
An: iaik-jce@iaik.tu-graz.ac.at
Betreff: [iaik-jce] Need an asymmetric algo to sign and encrypt


Hi,

I need the implementation of an asymmetric algorithm to sign and encrypt
data (objects).
(RSA can only encrypt, DSA can only sign, DH can only encrypt, ...)

I want to do the following (simplified):
A sender sends an object encrypted using the receiptents public key and
signed using the its own private key. The receiptent should decrypt it using
its own private key and verify the signature using the senders public key.
Every instance (sender and receiptent) only have one(!) key-pair.

It seems not to be possible with IAIK, isn't it?
(Why is it not possible to sign with a RSA-key?)

Thanks for your help!

Best regards,
Thomas Kuhlmann

----
Bertelsmann mediaSystems
An der Autobahn
D-33311 Guetersloh
Germany
--
Mailinglist-archive at
http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

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




smime.p7s