function can_use_openssl()
{
if (!function_exists('openssl_verify')) {
return false;
}
$pk = $this->get_option('public_key');
if (empty($pk)) {
return false;
}
if (1 !== (int) $this->get_option('use_openssl_signing')) {
return false;
}
return true;
}