Crypt-OpenSSL3
view release on metacpan or search on metacpan
lib/Crypt/OpenSSL3/SSL/Context.pm view on Meta::CPAN
package Crypt::OpenSSL3::SSL::Context;
$Crypt::OpenSSL3::SSL::Context::VERSION = '0.005';
use strict;
use warnings;
use Crypt::OpenSSL3;
1;
#ABSTRACT: A context for SSL connections
__END__
=pod
=encoding UTF-8
=head1 NAME
Crypt::OpenSSL3::SSL::Context - A context for SSL connections
=head1 VERSION
version 0.005
=head1 SYNOPSIS
my $method = Crypt::OpenSSL3::SSL::Protocol->TLS_client;
my $ctx = Crypt::OpenSSL3::SSL::Context->new($method);
$ctx->set_verify(Crypt::OpenSSL3::SSL::VERIFY_PEER);
$ctx->set_default_verify_paths();
my $ssl = Crypt::OpenSSL3::SSL->new($ctx);
my $ssl2 = Crypt::OpenSSL3::SSL->new($ctx);
my $ssl3 = Crypt::OpenSSL3::SSL->new($ctx);
=head1 DESCRIPTION
This is the global context class which is created by a server or client once per program life-time and which holds mainly default values for the SSL classes which are later created for the connections; these will have exactly the same name as in L<Cr...
Methods in this class generally match the C<SSL_CTX_*> namespace in C<libssl>.
=head1 METHODS
=head2 new
=head2 add_client_CA
=head2 add_extra_chain_cert
=head2 add_session
=head2 check_private_key
=head2 clear_extra_chain_certs
=head2 clear_mode
=head2 clear_options
=head2 get_cert_store
=head2 get_domain_flags
=head2 get_max_proto_version
=head2 get_min_proto_version
=head2 get_mode
=head2 get_num_tickets
=head2 get_options
=head2 get_param
=head2 get_read_ahead
=head2 load_verify_dir
=head2 load_verify_file
=head2 load_verify_locations
=head2 load_verify_store
=head2 remove_session
=head2 sess_accept
=head2 sess_accept_good
=head2 sess_accept_renegotiate
=head2 sess_cache_full
=head2 sess_cb_hits
=head2 sess_connect
=head2 sess_connect_good
=head2 sess_connect_renegotiate
=head2 sess_get_cache_size
=head2 sess_hits
=head2 sess_misses
=head2 sess_number
=head2 sess_set_cache_size
( run in 2.575 seconds using v1.01-cache-2.11-cpan-75ffa21a3d4 )