AusweisApp2
Lade ...
Suche ...
Keine Treffer
SecureMessagingResponse.h
gehe zur Dokumentation dieser Datei
1
7#pragma once
8
10#include "ResponseApdu.h"
11
12namespace governikus
13{
14
20 : public ASN1_OCTET_STRING {};
22
23
24
29 : public ASN1_OCTET_STRING {};
31
32
33
38 : public ASN1_OCTET_STRING {};
40
41
42
47 : public ResponseApdu
48{
49 private:
50 bool mInvalid;
51 QSharedPointer<SM_ENCRYPTED_DATA> mEncryptedData;
52 QSharedPointer<SM_PROCESSING_STATUS> mProcessingStatus;
53 QSharedPointer<SM_CHECKSUM> mChecksum;
54
55 Q_DISABLE_COPY(SecureMessagingResponse)
56
57 public:
58 explicit SecureMessagingResponse(const QByteArray& pBuffer);
59 ~SecureMessagingResponse() override;
60
64 [[nodiscard]] QByteArray getEncryptedData() const;
65
69 [[nodiscard]] QByteArray getEncryptedDataObjectEncoded() const;
70
74 [[nodiscard]] QByteArray getMac() const;
75
79 [[nodiscard]] StatusCode getSecuredStatusCode() const;
80
84 [[nodiscard]] QByteArray getSecuredStatusCodeBytes() const;
85
89 [[nodiscard]] QByteArray getSecuredStatusCodeObjectEncoded() const;
90
94 [[nodiscard]] bool isInvalid() const;
95};
96
97
98} // namespace governikus
#define DECLARE_ASN1_OBJECT(name)
Definition: ASN1TemplateUtil.h:164
Definition: ResponseApdu.h:84
Response APDU for Secure Messaging as defined in TR-03110-3.
Definition: SecureMessagingResponse.h:48
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
Message part of the Secure Messaging response APDU containing the cryptographic checksum.
Definition: SecureMessagingResponse.h:38
Message part of the Secure Messaging response APDU containing the encrypted data.
Definition: SecureMessagingResponse.h:20
Message part of the Secure Messaging response APDU containing the processing status.
Definition: SecureMessagingResponse.h:29