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

[iaik-jce]



>From iaik-jce-owner@iaik.tu-graz.ac.at Tue Nov 21 06:29:23 2000
Received: from [129.27.152.30] by hotmail.com (3.2) with ESMTP id
MHotMailBBE3D1420061D821EEC7811B981E096A0; Tue Nov 21 06:27:26 2000
Received: from kant [129.27.152.76] by iaik.tu-graz.ac.at
  (SMTPD32-6.00) id A6A8320268; Tue, 21 Nov 2000 14:20:40 +0100
Received: from 127.0.0.1 [127.0.0.1] by kant (IAIK S/MIME Mapper 2.0
  17/November/2000); Tue, 21 Nov 2000 14:20:28 +0100
Message-ID: <2153689.974936998682.JavaMail.yoginder.o@hi101>
From: "Andreas Sterbenz" <Andreas.Sterbenz@iaik.at>
To: "Diego Pietralunga" <diego@ltt.it>,
 "Iaik-Jce \(E-mail\)" <iaik-jce@iaik.at>
References: <001c01c04fb1$71b29ab0$c805a8c0@diego>
Date: Thu, 23 Nov 2000 09:49:58 +1000 (GMT+10:00)
Organization: IAIK
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=sha1;
  boundary="--IAIK.SMIME.MAPPER.A0EC13D7--";
  protocol="application/x-pkcs7-signature"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Subject: Re: [iaik-jce] PKCS11 and iaik - Private Key Conversion
Precedence: bulk
Sender: iaik-jce-owner@iaik.tu-graz.ac.at

This is a multipart MIME message, it may require a MIME capable user agent.
----IAIK.SMIME.MAPPER.A0EC13D7--
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Our RSA code cannot know what to do with your PKCS#11 key. You need to
provide your own implementation of the RSA cipher or signature in order to
use it within the IAIK JCE.

 Andreas Sterbenz              mailto:Andreas.Sterbenz@iaik.at


----- Original Message -----
From: "Diego Pietralunga" <diego@ltt.it>
To: "Iaik-Jce (E-mail)" <iaik-jce@iaik.at>
Sent: Thursday, November 16, 2000 10:41 AM
Subject: [iaik-jce] PKCS11 and iaik - Private Key Conversion


> Hello,
>
> I'm working in a project involving digital signature using smart cards.
> I use IBM's PKCS11 classes (com.ibm.pkcs11) to access the token.
> Now that I've made the card perform some operations,I'd like to verify the
> results;specifically,I've performed SHA/RSA and
> MD5/RSA  signatures.
> The keys are generated on-board.
> If I try to use:
>
>   Signature sha_rsa =3D Signature.getInstance("SHA/RSA");
>
>   sha_rsa.initSign(  (PrivateKey ) rsaPrivateKey  );
>
>   sha_rsa.update(strToBeSigned.getBytes());
>
>   byte [] sha_rsa_signature =3D sha_rsa.sign();




----IAIK.SMIME.MAPPER.A0EC13D7--
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAA
oIIVODCCBFkwggNFoAMCAQICAw9CzTAJBgUrDgMCHQUAMIIBEzELMAkGA1UEBhMC
QVQxDzANBgNVBAgTBlN0eXJpYTENMAsGA1UEBxMER1JBWjEZMBcGA1UECRMQSW5m
ZmVsZGdhc3NlIDE2YTEmMCQGA1UEChMdR1JBWiBVTklWRVJTSVRZIE9GIFRFQ0hO
T0xPR1kxRzBFBgNVBAsTPkluc2l0dXRlIGZvciBBcHBsaWVkIEluZm9ybWF0aW9u
IFByb2Nlc3NpbmcgYW5kIENvbW11bmljYXRpb25zMRkwFwYDVQQLExBJQUlLIElO
VFJBTkVUIENBMRkwFwYDVQQDExBJQUlLIFRVLUdSQVogU0lHMSIwIAYDVQQMExlJ
QUlLIGVsZWN0cm9uaWMgc2lnbmF0dXJlMB4XDTk5MTIwMTEzMzcyOVoXDTAwMTIw
MTEzMzcyOVowgZkxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJ
VFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UECxM+SW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QDAN
BggqhkiG9w0DAgIBKDAHBgUrDgMCBzANBgkqhkiG9w0BAQEFAASBgDwFWjXypwbX
ytqhV6nFcESXQSJHx8+q+ctiJw5JpBU3cgAPp1yX6k5Ycohmzx/B1wTqgHbB7hXO
pc+vtDXlaaMHGKvUiiKfv7UXGRbgQ0GbgnQTFqz9kfMHFuLpYGVJ9zCwDMMTWnH/
BGj/UIOXtXNTLVKT4bpdpbVirP1yfDCmAAAAAAAA
----IAIK.SMIME.MAPPER.A0EC13D7----

--
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


--
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