On Tue, Aug 7, 2012 at 9:11 AM, René Korthaus <[email protected]> wrote: > Thanks for the clarification. Then is there a reason that gnutls offers no > method to import a PKCS#1 RSAPublicKey structure - given that it is a > standard format and almost all smartcards speak it plus RSAPublicKey is very > similar to RSAPrivateKey and gnutls can already decode RSAPrivateKey > structures with _gnutls_privkey_decode_pkcs1_rsa_key. From the code I've > seen it should be fairly easy to implement and would make us very happy. :)
The problem is that RSAPublicKey structure is RSA specific. GnuTLS supports the generic SubjectPublicKeyInfo structure for public keys which may contain RSA, DSA, or ECDSA keys. If however you provide a simple patch that reads the structure for an gnutls_pubkey_t, I'll be happy to include it in the 3.1 release. regards, Nikos _______________________________________________ Help-gnutls mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gnutls
