Name
SPVM::Net::SSLeay::EVP - EVP Name Space in OpenSSL
Description
Net::SSLeay::EVP class in SPVM represents EVP Name Space in OpenSSL.
Usage
use Net::SSLeay::EVP;
Class Methods
get_digestbyname
static method get_digestbyname : Net::SSLeay::EVP_MD ($name : string);
Calls native EVP_get_digestbyname function given $name.
If the return value is not NULL, returns undef.
Otherwise, creates a Net::SSLeay::EVP_MD 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, and returns the new object.
sha1
static method sha1 : Net::SSLeay::EVP_MD ();
Calls native EVP_sha1 function, creates a Net::SSLeay::EVP_MD 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, and returns the new object.
sha256
static method sha256 : Net::SSLeay::EVP_MD ();
Calls native EVP_sha256 function, creates a Net::SSLeay::EVP_MD 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, and returns the new object.
sha512
static method sha512 : Net::SSLeay::EVP_MD ();
Calls native EVP_sha512 function, creates a Net::SSLeay::EVP_MD 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, and returns the new object.
See Also
Copyright & License
Copyright (c) 2024 Yuki Kimoto
MIT License