Verifying a signature - format problems

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

 



Hello,
    I am trying to verify a signature using
EVP_digestVerifyInit/Update/Final, and I keep getting the errors
ASN1_get_object:too long or ASN1_CHEKC_TLEN: Bad Object Header or Wrong
Tag, and finally ASN1_ITEM_EX_D2I: Nested asn1 error.  I believe that these
errors indicate that the formatting on my signature is incorrect.
    So my question is: What format should the signature file be in? base64?
DER? PKCS7? raw binary?  Specifically I am talking about the function
EVP_DigestVerifyFinal(), What format should the *sig parameter be in?  The
DiestVerifyInit and DigestVerifyUpdate are working with no errors, so I
have narrowed it down to this function.
Thanks,


-- 
Andrew Carpenter,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150724/f55b6557/attachment.html>


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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux