AusweisApp2/src/card/base/command/DidAuthenticateEAC1Command.h

45 lines
717 B
C
Raw Normal View History

2017-07-03 09:30:10 +02:00
/*!
* DidAuthenticateEAC1Command.h
*
* \brief Command to perform the DID Authenticate EAC1 process.
*
* \copyright Copyright (c) 2014 Governikus GmbH & Co. KG
*/
#pragma once
2017-09-15 10:23:30 +02:00
#include "asn1/Chat.h"
2017-07-03 09:30:10 +02:00
#include "BaseCardCommand.h"
#include "Commands.h"
namespace governikus
{
class CardConnection;
class DidAuthenticateEAC1Command
: public BaseCardCommand
{
Q_OBJECT
private:
QByteArray mChallenge;
protected:
virtual void internalExecute() override;
virtual ~DidAuthenticateEAC1Command();
public:
DidAuthenticateEAC1Command(QSharedPointer<CardConnectionWorker> pCardConnectionWorker);
const QByteArray& getChallenge() const
{
return mChallenge;
}
};
} /* namespace governikus */