racker/luacrypto — pull request #2 by philips (2012-02-03 20:13:57+00:00)
Title: Add x509 ca verify

x509_ca: initial commit
Initial commit of code to verify an x509 cert against a CA.

Here is an example usage of the API:

ca = assert(crypto.x509_ca())
ca:add_pem(ca_cert)
assert(ca:verify_pem(cert_to_verify) == true, "failed to verify good cert")