AusweisApp
Lade ...
Suche ...
Keine Treffer
SecureMessagingApdu.h
gehe zur Dokumentation dieser Datei
1
4
5#pragma once
6
8
9#include <QByteArray>
10
11
12namespace governikus
13{
14
16{
17 private:
18 bool mValid;
19 QSharedPointer<SM_ENCRYPTED_DATA> mEncryptedData;
20
21 protected:
23
24 bool decodeData(QByteArray& pData);
25
26 void setValid();
27
28 public:
32 [[nodiscard]] QByteArray getEncryptedData() const;
33
37 [[nodiscard]] QByteArray getEncryptedDataObjectEncoded() const;
38
42 [[nodiscard]] bool isValid() const;
43};
44
45
46} // namespace governikus
QByteArray getEncryptedData() const
Returns the encrypted data without padding-content indicator.
Definition SecureMessagingApdu.cpp:57
SecureMessagingApdu()
Definition SecureMessagingApdu.cpp:19
void setValid()
Definition SecureMessagingApdu.cpp:51
bool isValid() const
Is the message structure invalid, i.e.
Definition SecureMessagingApdu.cpp:69
QByteArray getEncryptedDataObjectEncoded() const
Returns the encoded ASN.1 object containing the encrypted data.
Definition SecureMessagingApdu.cpp:63
bool decodeData(QByteArray &pData)
Definition SecureMessagingApdu.cpp:26
Defines the AccessRight and AccessRole enum.
Definition CommandApdu.h:17