logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Twiggy::TLS::Info - TLS connection information

Methods

client_certificate
       Retrieve value from client certificate. If no field is given the internal representation of certificate
       from Net::SSLeay is returned. The list of fields can be found in IO::Socket::SSL "peer_certificate"
       method documentation.

   cipher
       Returns the string form of the cipher used for current connection.

perl v5.36.0                                       2023-01-29                             Twiggy::TLS::Info(3pm)

Name

       Twiggy::TLS::Info - TLS connection information

Synopsis

       In PSGI application:

           warn "Client's CommonName: " . $env->{"psgi.tls"}->client_certificate('cn');
           warn "Used cipher: " . $env->{"psgi.tls"}->cipher;

See Also