Skip to content

Commit

Permalink
Merge branch 'WE2-479' of github.com:lauris71/web-eid-app into WE2-479
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/controller/command-handlers/signauthutils.hpp
  • Loading branch information
Lauris Kaplinski committed Jul 17, 2024
2 parents d3646e4 + f1bfe12 commit c2e5152
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/controller/command-handlers/signauthutils.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020-2024 Estonian Information System Authority
* Copyright (c) 2020-2023 Estonian Information System Authority
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,17 +22,13 @@

#pragma once

#include "pcsc-cpp/pcsc-cpp.hpp"
#include "electronic-id/enums.hpp"
#include "pcsc-cpp/pcsc-cpp-utils.hpp"

#include <QVariantMap>

class WebEidUI;

namespace electronic_id
{
class ElectronicID;
class SignatureAlgorithm;
} // namespace electronic_id
class QSslCertificate;

void requireArgumentsAndOptionalLang(QStringList argNames, const QVariantMap& args,
const std::string& argDescriptions);
Expand All @@ -45,6 +41,6 @@ extern template QString validateAndGetArgument<QString>(const QString& argName,
extern template QByteArray
validateAndGetArgument<QByteArray>(const QString& argName, const QVariantMap& args, bool allowNull);

pcsc_cpp::byte_vector getPin(const electronic_id::ElectronicID& card, WebEidUI* window);
int getPin(pcsc_cpp::byte_vector& pin, const pcsc_cpp::SmartCard& card, WebEidUI* window);

QVariantMap signatureAlgoToVariantMap(const electronic_id::SignatureAlgorithm signatureAlgo);

0 comments on commit c2e5152

Please sign in to comment.