Name

SPVM::Net::SSLeay::ConfigBuilder - Config Builder for Net::SSLeay.

Description

SPVM::Net::SSLeay::ConfigBuilder class is a config builder for Net::SSLeay.

This class is a Perl module.

Usage

my $ssl_config_builder = SPVM::Net::SSLeay::ConfigBuilder->new;

$ssl_config_builder->build_config($config);

Class Methods

new

my $ssl_config_builder = SPVM::Net::SSLeay::ConfigBuilder->new;

Create a new SPVM::Net::SSLeay::ConfigBuilder object and returns it.

Instance Methods

build_config

$ssl_config_builder->build_config($config);

Builds the config $config to bind Net::SSLeay.

$config is a SPVM::Builder::Config object.

The path of the directory that contains OpenSSL headers and library is automatically detected, but if you specify it, use $ENV{OPENSSL_PREFIX} environment variable.

export OPENSSL_PREFIX = /path/openssl

See Also

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License