;
>>>>cannot convert parameter 1 from 'int (__cdecl *)(void)' to
>>>>'i2d_of_void (__cdecl *)'
>>>> This conversion requires a reinterpret_cast, a C-style
>>>>cast or function-style cast
>>>>
>&
gt;
>>> Thanks again
>>>
>>>
>>>
>>> On Sat, Jun 21, 2008 at 8:15 AM, Bill Colvin <[EMAIL PROTECTED]>> [EMAIL PROTECTED]>> wrote:
>>>
>>>0.9.8 have used it with f, g and h
>>>
>>>
>>>Bill
&g
;] *On Behalf Of
*Siddhartha Chhabra
*Sent:* June 20, 2008 10:07 PM
*To:* openssl-users@openssl.org
<mailto:openssl-users@openssl.org>
<mailto:openssl-users@openssl.org
<mailto:openssl-users@openssl.org>>
*
again
>>
>>
>>
>> On Sat, Jun 21, 2008 at 8:15 AM, Bill Colvin <[EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote:
>>
>>0.9.8 have used it with f, g and h
>>
>>
>> Bill
>>
>>
>>* From: * [EMAIL PROTECTED]
>
;mailto:[EMAIL PROTECTED]>
[mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>] *On Behalf Of
*Siddhartha Chhabra
*Sent:* June 20, 2008 10:07 PM
*To:* openssl-users@openssl.org <mailto:openssl-users@openssl.org>
*Subject:* Re: DSA signing and verification
t; [EMAIL PROTECTED] *On Behalf Of *Siddhartha Chhabra
> *Sent:* June 20, 2008 10:07 PM
>
> *To:* openssl-users@openssl.org
> *Subject:* Re: DSA signing and verification
>
>
>
> What version of the library are you using ?
>
> On Fri, Jun 20, 2008 at 9:01 PM, Siddhartha Chh
0.9.8 have used it with f, g and h
Bill
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Siddhartha Chhabra
Sent: June 20, 2008 10:07 PM
To: openssl-users@openssl.org
Subject: Re: DSA signing and verification
What version of the library
t;
>> Bill
>> ----------
>>
>> *From:* [EMAIL PROTECTED] [mailto:
>> [EMAIL PROTECTED] *On Behalf Of *Siddhartha Chhabra
>> *Sent:* June 20, 2008 8:39 PM
>> *To:* openssl-users@openssl.org
>> *Subject:* Re: DSA signing and verification
>
>
>
> Bill
> --
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Siddhartha Chhabra
> *Sent:* June 20, 2008 8:39 PM
> *To:* openssl-users@openssl.org
> *Subject:* Re: DSA signing and verification
>
>
signing and verification
On trying the macros, it gives the following errors
c:\se_simulation2\verificationserver\verifier\verifier\verifier.cpp(201)
: error C2664: 'PEM_ASN1_write' : cannot convert parameter 1 from 'int
(__cdecl *)(void)' to 'i2d_of_void (__cdecl *)'
On trying the macros, it gives the following errors
c:\se_simulation2\verificationserver\verifier\verifier\verifier.cpp(201) :
error C2664: 'PEM_ASN1_write' : cannot convert parameter 1 from 'int
(__cdecl *)(void)' to 'i2d_of_void (__cdecl *)'
This conversion requires a reinterpret_cast, a
I will try the method that Bill just mentioned and hope that it works,
Thanks again, but I would still like to know the problem with the way I am
trying to do stuff.
Thanks
On Fri, Jun 20, 2008 at 4:58 PM, Siddhartha Chhabra <
[EMAIL PROTECTED]> wrote:
> Thanks for your quick replies, however, I
Thanks for your quick replies, however, I did not understand it clearly, I
am very new to OpenSSL
Here is what I am doing in my code
dsa=DSA_generate_parameters(1024,seed,20,&counter,&h,cb,bio_err);
DSA_generate_key(dsa)
Now I have the keys generated. Now if I say
SHA1(sigbuf,11,dgst);
/
I had a similar problem. I found I had to define my own macros for this
as they were not in the OpenSSL set.
#define PEM_write_DSAPublicKey(fp,x) \
PEM_ASN1_write((int (*)())i2d_DSAPublicKey,\
PEM_STRING_DSA_PUBLIC,fp,(char *)x,NULL,NULL,0,NULL,NULL)
#define PEM_read_
Hi Siddhartha:
It's never a problem, but the procedure is as follows:
1.- You sign with private key and certificate connected with that key
2.- If you then encrypt, you encrypt with the certificate of your
counterpart or recepient
When the recepient gets the encrypted block of data, he decrypts
15 matches
Mail list logo