AusweisApp2
Lade ...
Suche ...
Keine Treffer
SecureMessagingCommand.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include "CommandApdu.h"
12#include "SecureMessagingApdu.h"
13
14namespace governikus
15{
16
22 : public SecureMessagingApdu
23{
24 Q_DISABLE_COPY(SecureMessagingCommand)
25
26 private:
27 QSharedPointer<SM_PROTECTED_LE> mExpectedLength;
28 QSharedPointer<SM_CHECKSUM> mChecksum;
29
30 public:
31 explicit SecureMessagingCommand(const CommandApdu& pApdu);
32
36 [[nodiscard]] int getExpectedLength() const;
37
41 [[nodiscard]] QByteArray getExpectedLengthObjectEncoded() const;
42
46 [[nodiscard]] QByteArray getMac() const;
47};
48
49
50} // namespace governikus
Definition SecureMessagingApdu.h:20
Command APDU for Secure Messaging as defined in TR-03110-3.
Definition SecureMessagingCommand.h:23
QByteArray getExpectedLengthObjectEncoded() const
Returns the encoded ASN.1 object containing the expected length.
Definition SecureMessagingCommand.cpp:76
int getExpectedLength() const
Returns the expected length.
Definition SecureMessagingCommand.cpp:48
QByteArray getMac() const
Returns the cryptographic checsum.
Definition SecureMessagingCommand.cpp:82
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16