14 #include <QSharedPointer>
15 #include <openssl/asn1t.h>
38 ASN1_OCTET_STRING* mApplicationIdentifier;
45 static QSharedPointer<application_template_st> decode(
const QByteArray& pBytes);
54 [[nodiscard]] QByteArray
getAid()
const;
58 inline QDebug
operator<<(QDebug pDbg,
const QSharedPointer<ApplicationTemplate>& pApplicationTemplate)
60 QDebugStateSaver saver(pDbg);
61 pDbg <<
FileRef(FileRef::TYPE::APPLICATION, pApplicationTemplate->getAid());
66 #if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
#define DECLARE_ASN1_OBJECT(name)
Definition: ASN1TemplateUtil.h:169
A simple template renderer.
Definition: ActivationContext.h:15
QByteArray getAid() const
Definition: ApplicationTemplate.cpp:83
application_template_st & operator=(const application_template_st &)=delete
application_template_st(const application_template_st &pCopy)
~application_template_st()
Definition: ApplicationTemplate.cpp:56
ASN1_PRINTABLESTRING * mApplicationLabel
Definition: ApplicationTemplate.h:39
struct application_template_st { ASN1_OCTET_STRING *mApplicationIdentifier ApplicationTemplate
Definition: ApplicationTemplate.h:38
ASN1_OCTET_STRING * mDiscretionaryData
Definition: ApplicationTemplate.h:42
ASN1_OCTET_STRING * mFileReference
Definition: ApplicationTemplate.h:40
ASN1_OCTET_STRING * mCommandApdu
Definition: ApplicationTemplate.h:41
QDebug operator<<(QDebug pDbg, const CommandApdu &pCommandApdu)
Definition: CommandApdu.h:89
ASN1_OCTET_STRING * mUniformResourceLocator
Definition: ApplicationTemplate.h:43