Adding SSL cert parameter accesors to AsyncMysqlConnection class
Summary:
Adding methods to `AsyncMysqlConnection` class for retrieving information about server certificate presented during TLS handshake:
- getSslCertCn() returns a string containing FDQN
- getSslCertSan() returns a string containing a comma-separated list of Subject Alternative Names
- getSslCertExtensions() returns a comma-separated list of values from custom extensions requestsd by the caller upon connection initiation
- isSslCertValidationEnforced() returns boolean indicating if server cert validation was enforced.
Reviewed By: jkedgar
Differential Revision:
D33663743
fbshipit-source-id:
99cf1384d51ca18bf0659aef798c4b802f90b214