Hi Nils,

Hmm, I thin k I can't follow you.
Can you maybe give me a short example?

Thanks and regards

Jürgen 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nils Larsch
Sent: Montag, 19. März 2007 22:37
To: openssl-users@openssl.org
Subject: Re: Problem with ecdsa

Nils Larsch wrote:
> Moin Jürgen,
> 
> Jürgen Heiss wrote:
>> Hi everybody,
>>  
>> I try to verify a xml file which was signed with ecdsa-sha1.
>> I alredy read to SignatureValue from the xmlfile. which is.
>>  
>> 724PlFGHTTL1cFlLFU6g6UetcPVBEAN6oNpogAUx3rgELFH86gA+NqvjVf316zek
> 
> are you _really_ sure that this is a ecdsa-with-something signature ?
> Your data starts with 0xEF,0x6E... but a ecdsa signature is a
> asn.1 sequence of two asn.1 integers and hence must begin with 0x30 ...

hmm, actually I was wrong. According to rfc 4050 the xml ecdsa-* signature 
value is simply the concatenation of the two signature value without the asn.1 
der encoding ...
OpenSSL has no function to handle this signature format directly.

Nils
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to