shukitchan opened a new pull request, #12683:
URL: https://github.com/apache/trafficserver/pull/12683

   This pull request adds comprehensive Lua API documentation and helper 
functions for extracting X.509 certificate data in the ATS Lua plugin. The main 
changes include new documentation for both client and server certificate 
accessors and a set of helper functions to retrieve certificate fields such as 
PEM encoding, subject, issuer, serial number, validity dates, signature, 
version, and Subject Alternative Names (SANs).
   
   **Documentation enhancements:**
   
   * Added detailed documentation for new Lua API functions to access client 
and server certificate fields, including PEM, subject, issuer, serial, 
signature, validity dates, version, and various SAN types. Each function 
includes syntax, context, description, return values, and usage examples in 
`doc/admin-guide/plugins/lua.en.rst`.
   
   **Helper functions for certificate extraction:**
   
   * Implemented helper functions in `ts_lua_client_cert_helpers.h` for 
extracting certificate data such as subject/issuer names (RFC2253), serial 
number, validity timestamps, PEM encoding, signature (hex string), and SAN 
entries (DNS, IP, email, URI) from X.509 certificates. These functions use 
OpenSSL APIs and handle both client and server certificates.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to