Name
SPVM::Net::SSLeay - OpenSSL Binding
Description
Net::SSLeay class in SPVM is a binding for OpenSSL.
Warnings:
The document is not finished yet. The tests haven't been written yet. The features may be changed without notice.
Usage
use Net::SSLeay;
Examples
See source codes of IO::Socket::SSL about examples of Net::SSLeay.
Fields
operation_error
has operation_error : ro int;
Class Methods
new
static method new : Net::SSLeay ($ssl_ctx : Net::SSLeay::SSL_CTX);
Instance Methods
DESTROY
method DESTROY : void ();
set_fd
method set_fd : int ($fd : int);
connect
method connect : int ();
accept
method accept : int ();
shutdown
method shutdown : int ();
set_tlsext_host_name
method set_tlsext_host_name : int ($name : string);
read
method read : int ($buf : mutable string, $num : int = -1, $offset : int = 0);
peek
method peek : int ($buf : mutable string, $num : int = -1, $offset : int = 0);
write
method write : int ($buf : string, $num : int = -1, $offset : int = 0);
Modules
Config Builder
SPVM::Net::SSLeay::ConfigBuilder
Porting
This class is a Perl's Net::SSLeay porting to SPVM.
Repository
Author
Yuki Kimoto<kimoto.yuki@gmail.com>
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License