[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: RSA sign/verify and hash generation functions
From: |
Murray S. Kucherawy |
Subject: |
RE: RSA sign/verify and hash generation functions |
Date: |
Tue, 14 Dec 2010 10:54:49 -0800 |
Looks like signing is now working, but I can't import a DER public key with
this:
gnutls_x509_crt_init(&pubkey);
key.data = <pointer to DER data>;
key.size = <length of DER data, currently >;
gnutls_x509_crt_import(pubkey, &key, GNUTLS_X509_FMT_DER);
The import call is returning -73, GNUTLS_E_ASN1_TAG_ERROR.
What I'm actually importing is an DER encoded RSA public key, namely a PEM one
with the "---BEGIN PUBLIC KEY---" removed and then the base64 decoding done.
It's a 1024 bit key, and post-decoding it's 162 bytes long.
- Re: RSA sign/verify and hash generation functions, (continued)
- Re: RSA sign/verify and hash generation functions, Nikos Mavrogiannopoulos, 2010/12/08
- RE: RSA sign/verify and hash generation functions, Murray S. Kucherawy, 2010/12/08
- Re: RSA sign/verify and hash generation functions, Alessandro Vesely, 2010/12/09
- Re: RSA sign/verify and hash generation functions, Nikos Mavrogiannopoulos, 2010/12/09
- Re: RSA sign/verify and hash generation functions, Alessandro Vesely, 2010/12/11
- Re: RSA sign/verify and hash generation functions, Nikos Mavrogiannopoulos, 2010/12/08
- RE: RSA sign/verify and hash generation functions, Murray S. Kucherawy, 2010/12/08
- Re: RSA sign/verify and hash generation functions, Nikos Mavrogiannopoulos, 2010/12/09
- RE: RSA sign/verify and hash generation functions, Murray S. Kucherawy, 2010/12/09
- Re: RSA sign/verify and hash generation functions, Nikos Mavrogiannopoulos, 2010/12/13
- RE: RSA sign/verify and hash generation functions,
Murray S. Kucherawy <=
- Re: RSA sign/verify and hash generation functions, Nikos Mavrogiannopoulos, 2010/12/14
- RE: RSA sign/verify and hash generation functions, Murray S. Kucherawy, 2010/12/14
- RE: RSA sign/verify and hash generation functions, Murray S. Kucherawy, 2010/12/15
- Re: RSA sign/verify and hash generation functions, Nikos Mavrogiannopoulos, 2010/12/16
- RE: RSA sign/verify and hash generation functions, Murray S. Kucherawy, 2010/12/16
- Re: RSA sign/verify and hash generation functions, Nikos Mavrogiannopoulos, 2010/12/16
- RE: RSA sign/verify and hash generation functions, Murray S. Kucherawy, 2010/12/16
- Re: RSA sign/verify and hash generation functions, Nikos Mavrogiannopoulos, 2010/12/18
- RE: RSA sign/verify and hash generation functions, Murray S. Kucherawy, 2010/12/20
- RE: RSA sign/verify and hash generation functions, Murray S. Kucherawy, 2010/12/08