Name
SPVM::Net::SSLeay::X509_STORE_CTX - X509_STORE_CTX Data Structure in OpenSSL
Description
Net::SSLeay::X509_STORE_CTX class in SPVM represents X509_STORE_CTX data structure in OpenSSL.
Usage
use Net::SSLeay::X509_STORE_CTX;
Instance Methods
set_error
method set_error : void ($s : int);
Calls native X509_STORE_CTX_set_error function given $s.
get_error
method get_error : int ();
Calls native X509_STORE_CTX_get_error function, and returns its return value.
get_error_depth
method get_error_depth : int ();
Calls native X509_STORE_CTX_get_error_depth function, and returns its return value.
get_current_cert
method get_current_cert : Net::SSLeay::X509 ();
Calls native X509_STORE_CTX_get_current_cert function.
If the return value is NULL, returns undef.
Otherwise, creates a new new Net::SSLeay::X509 object, sets the pointer value of the new object to the return value of the native function, sets no_free
flag of the new object to 1, returns the new object.
Copyright & License
Copyright (c) 2024 Yuki Kimoto
MIT License