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

Re: [iaik-jce] Using external sign algorithm in Pkcs7,



You can use method setMessageDigest(AlgorithmID digestAlgorithm, byte[]
digest) of class SignedDataStream only for setting the message digest value,
but not for signing the digest outside. Sorry, I have not carefully enough
read your query.
But we may include a new method like setEncrypedDigest in class SignerInfo
for encrypting and setting the signed digest from outside. (the next beta
should be available this or next week).

Regards,
Dieter Bratko

----- Original Message -----
From: Dieter Bratko <Dieter.Bratko@iaik.at>
To: Gianluca D'Errico <derrico@CSELT.IT>; <iaik-jce@iaik.tu-graz.ac.at>
Sent: Tuesday, December 14, 1999 5:10 PM
Subject: Re: [iaik-jce] Using external sign algorithm in Pkcs7


You may use method

public void setMessageDigest(AlgorithmID digestAlgorithm, byte[] digest)

for setting an externally calculated digest for a specific digest algorithm.

Dieter Bratko

----- Original Message -----
From: Gianluca D'Errico <derrico@CSELT.IT>
To: <iaik-jce@iaik.tu-graz.ac.at>
Sent: Friday, December 10, 1999 12:08 PM
Subject: [iaik-jce] Using external sign algorithm in Pkcs7


> Hello,
>
> I have a problem...
>
> I use Pkcs7 SignedData and SignedDataStream objects but I need to use
> external sign algorithm with obfuscated private keys.
>
> Is there any way to build a pkcs7 object using IAIK classes but signing
> the digests outside ?
>
> Thank you,
>
> Luca D'Errico
>
> --
> *************************
>  C S E L T - SA/AA
>  Via Reiss Romoli, 274
>  Torino
>
>  Gianluca D'Errico
>  mailto:derrico@cselt.it
>  TEL +39 11 228 6972
>  FAX +39 11 228 6360
> *************************
>
>
> --
> 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