The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::Net::SSLeay::SSL_CTX - SSL/TLS Contexts

Description

The Net::SSLeay::SSL_CTX class of SPVM has methods to manipulate SSL/TLS contexts.

Usage

  use Net::SSLeay::SSL_CTX;

Class Methods

new

  static method new : Net::SSLeay::SSL_CTX ($method : Net::SSLeay::SSL_METHOD);

Instance Methods

DESTROY

  method DESTROY : void ();

set_mode

  method set_mode : long ($mode : long);

set_verify

  method set_verify : int ($mode : int);

get0_param

  method get0_param : Net::SSLeay::X509_VERIFY_PARAM ();

set_default_verify_paths

  method set_default_verify_paths : int ();

use_certificate_file

  method use_certificate_file : int ($file : string, $type : int);

use_certificate_chain_file

  method use_certificate_chain_file : int ($file : string);

use_PrivateKey_file

  method use_PrivateKey_file : int ($file : string, $type : int);

set_cipher_list

  method set_cipher_list : int ($str : string);

set_ciphersuites

  method set_ciphersuites : int ($str : string);

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License