x509: Add __gc to free X509 object on destruction

x509: Add :valid_at() method to discover whether a certificate would be valid at the given timestamp

x509: Add :issuer() method, change returned format for both :subject() and :issuer() to preserve order

x509: Split :decode() method into two methods, :subject() and :extensions()

Remove min() macro from ssl.c

Move asn1 Lua stack helpers to x509.c from ssl.c

src/ssl.c: Include x509.h to shush compiler warning

x509: Whitespace tweaking

x509: Add :digest() method to return cert sha1 fingerprint

Add :pem() method to certificates

(0) -10 +10 tip

mercurial