AusweisApp2
SecureMessagingResponse.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
10 #include "ResponseApdu.h"
11 
12 namespace 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  virtual ~SecureMessagingResponse();
60 
64  QByteArray getEncryptedData() const;
65 
69  QByteArray getEncryptedDataObjectEncoded() const;
70 
74  QByteArray getMac() const;
75 
79  StatusCode getSecuredStatusCode() const;
80 
84  QByteArray getSecuredStatusCodeBytes() const;
85 
89  QByteArray getSecuredStatusCodeObjectEncoded() const;
90 
94  bool isInvalid() const;
95 };
96 
97 
98 } // namespace governikus
#define DECLARE_ASN1_OBJECT(name)
Definition: ASN1TemplateUtil.h:169
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