AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
SecureMessagingResponse.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
10 #include "Commands.h"
11 
12 
13 namespace governikus
14 {
15 
16 
22  : public ASN1_OCTET_STRING {};
24 
25 
26 
31  : public ASN1_OCTET_STRING {};
33 
34 
35 
40  : public ASN1_OCTET_STRING {};
42 
43 
44 
49  : public ResponseApdu
50 {
51  private:
52  bool mInvalid;
53  QSharedPointer<SM_ENCRYPTED_DATA> mEncryptedData;
54  QSharedPointer<SM_PROCESSING_STATUS> mProcessingStatus;
55  QSharedPointer<SM_CHECKSUM> mChecksum;
56 
57  Q_DISABLE_COPY(SecureMessagingResponse)
58 
59  public:
60  SecureMessagingResponse(const QByteArray& pBuffer);
61  virtual ~SecureMessagingResponse();
62 
66  QByteArray getEncryptedData() const;
67 
71  QByteArray getEncryptedDataObjectEncoded() const;
72 
76  QByteArray getMac() const;
77 
81  StatusCode getSecuredStatusCode() const;
82 
86  QByteArray getSecuredStatusCodeBytes() const;
87 
91  QByteArray getSecuredStatusCodeObjectEncoded() const;
92 
96  bool isInvalid() const;
97 };
98 
99 
100 } // namespace governikus
Response APDU for Secure Messaging as defined in TR-03110-3.
Definition: SecureMessagingResponse.h:48
Message part of the Secure Messaging response APDU containing the cryptographic checksum.
Definition: SecureMessagingResponse.h:39
#define DECLARE_ASN1_OBJECT(name)
Definition: ASN1TemplateUtil.h:152
Message part of the Secure Messaging response APDU containing the processing status.
Definition: SecureMessagingResponse.h:30
Message part of the Secure Messaging response APDU containing the encrypted data. ...
Definition: SecureMessagingResponse.h:21
Definition: Apdu.h:118