VaultPress::can_use_openssl PHP Method

can_use_openssl() public method

public can_use_openssl ( )
    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;
    }
VaultPress