Re: New functions for sslinfo extension

Lists: pgsql-hackers
From: Dmitry Voronin <carriingfate92(at)yandex(dot)ru>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: New functions for sslinfo extension
Date: 2014-04-18 12:42:47
Message-ID: 1366131397824967@web22j.yandex.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Attachment Content-Type Size
unknown_filename text/html 397 bytes
postgresql-9.3.4-sslinfo-sslextensions.patch text/x-diff 6.4 KB

From: Воронин Дмитрий <carriingfate92(at)yandex(dot)ru>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: New functions for sslinfo extension
Date: 2014-04-20 18:02:25
Message-ID: 3460991398016945@web29h.yandex.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

<div><div>Hello,</div><div> </div><div>I make an a patch, which adds 4 functions to sslinfo extension module:</div><div><div>1) ssl_get_count_of_extensions() --- get count of X509v3 extensions from client certificate;</div><div>2) ssl_get_extension_names() --- get short names of X509v3 extensions from client certificate;</div><div>3) ssl_get_extension_value(text) --- get value of extension from certificate (argument --- short name of extension);</div><div>4) ssl_is_critical_extension(text) --- returns true, if extension is critical and false, if is not (argument --- short name of extension).</div><div> </div></div><div>You can view some information of certificate's extensions via those functions.</div><div>I want, that my functions will be included in PostgreSQL release.</div><div> </div><div>What do you think about it?</div><div> </div><div>-- <br />Best regards, Dmitry Voronin</div></div><div> </div>

Attachment Content-Type Size
unknown_filename text/html 918 bytes