Name
SPVM::Net::SSLeay::EC_KEY - EC_KEY Data Strucutre in OpenSSL
Description
Net::SSLeay::EC_KEY class in SPVM represents EC_KEY data structure in OpenSSL
Usage
use Net::SSLeay::EC_KEY;
Class Methods
new_by_curve_name
static method new_by_curve_name : Net::SSLeay::EC_KEY ($nid : int);
Calls native EC_KEY_new_by_curve_name function given $nid, creates a new Net::SSLeay::EC_KEY object, sets the pointer value of the new object to the return value of the native function, and returns the new object.
Exceptions:
If EC_KEY_new failed, an exception is thrown with eval_error_id
set to the basic type ID of Net::SSLeay::Error class.
Instance Methods
DESTROY
method DESTROY : void ();
Calls native EC_KEY_free function given the pointer value of the instance if no_free
flag of the instance is not a true value.
See Also
Copyright & License
Copyright (c) 2024 Yuki Kimoto
MIT License