AusweisApp2
Lade ...
Suche ...
Keine Treffer
SecureMessagingApdu.h
gehe zur Dokumentation dieser Datei
1
7#pragma once
8
10
11#include <QByteArray>
12
13
14namespace governikus
15{
16
18{
19 private:
20 bool mValid;
21 QSharedPointer<SM_ENCRYPTED_DATA> mEncryptedData;
22
23 protected:
25
26 bool decodeData(QByteArray& pData);
27
28 void setValid();
29
30 public:
34 [[nodiscard]] QByteArray getEncryptedData() const;
35
39 [[nodiscard]] QByteArray getEncryptedDataObjectEncoded() const;
40
44 [[nodiscard]] bool isValid() const;
45};
46
47
48} // namespace governikus
Definition: SecureMessagingApdu.h:18
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
A simple template renderer.
Definition: ActivationContext.h:15