[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnutls] Perl binding
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [Help-gnutls] Perl binding |
Date: |
Sun, 4 Jun 2006 23:05:20 +0200 |
User-agent: |
KMail/1.9.1 |
On Fri 02 Jun 2006 17:35, Florian Weimer wrote:
Hello Florian,
> Is there some kind of Perl binding for GNUTLS?
None that I'm aware of.
> And, while I'm at it, is it possible to use GNUTLS in a
> straightforward manner with self-signed X.509 certificates (or
> OpenPGP keys)? With "straightforward" I mean something like SSH: The
> client specifies the server key (preferably given as an in-memory
> blob), and the library will establish the connection only if the
> server key matches. The server accepts all clients, but will then
> verify the certifcate against a user-supllied database (e.g. the
> library returns some unqiue identifier, and a callback provides the
> corresponding key material, again in memory).
Yes you could use gnutls that way. If you ask for a function to do
exactly that it doesn't exist. You may want to check the certificate
verification example to get an idea how you could do it.
regards,
Nikos