Emarref\Jwt\Algorithm\RsaSsaPkcs::getSslErrors PHP Method

getSslErrors() private method

private getSslErrors ( ) : array
return array
    private function getSslErrors()
    {
        $messages = [];
        while ($msg = openssl_error_string()) {
            $messages[] = $msg;
        }
        return $messages;
    }