Name
SPVM::Net::SSLeay::OPENSSL_INIT - OPENSSL_INIT Name Space in OpenSSL
Description
Net::SSLeay::OPENSSL_INIT class in SPVM represents OPENSSL_INIT name space in OpenSSL
Usage
use Net::SSLeay::OPENSSL_INIT;
Class Methods
new
static method new : Net::SSLeay::OPENSSL_INIT_SETTINGS ();
Calls native OPENSSL_INIT_new function, creates a Net::SSLeay::OPENSSL_INIT_SETTINGS object, sets the pointer value of the new object to the return value of the native function, and returns the new object.
set_config_filename
static method set_config_filename : int ($init : Net::SSLeay::OPENSSL_INIT_SETTINGS, $filename : string);
Calls native OPENSSL_INIT_set_config_filename function given $filename, and returns its return value.
Requirement:
OpenSSL 1.1.1b
Not LibreSSL
Exceptions:
The file name $filename must be defined. Otherwise an exception is thrown.
set_config_file_flags
static method set_config_file_flags : void ($init : Net::SSLeay::OPENSSL_INIT_SETTINGS, $flags : long);
Calls native OPENSSL_INIT_set_config_file_flags function given $filename.
Requirement:
OpenSSL 3.0.0
Not LibreSSL
set_config_appname
static method set_config_appname : int ($init : Net::SSLeay::OPENSSL_INIT_SETTINGS, $name : string);
Calls native OPENSSL_INIT_set_config_appname function given $filename, and returns its return value.
Requirement:
OpenSSL 1.1.1b
Not LibreSSL
Exceptions:
The app name $name must be defined. Otherwise an exception is thrown.
See Also
Copyright & License
Copyright (c) 2024 Yuki Kimoto
MIT License