Twiggy::TLS::Info(3pm)

Twiggy::TLS::Info3pm

Tls connection information

Usage

In PSGI application:

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

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.

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

From libtwiggy-tls-perl 0.0020-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.