11#include <QSharedPointer>
12#include <openssl/ec.h>
14class test_EcdhKeyAgreement;
22 friend class ::test_EcdhKeyAgreement;
33 QByteArray getUncompressedTerminalPublicKey()
override;
34 QByteArray getUncompressedCardPublicKey()
override;
35 QByteArray getCompressedCardPublicKey()
override;
Definition EcdhKeyAgreement.h:21
static QByteArray encodeUncompressedPublicKey(const Oid &pOid, const QByteArray &pKey)
Definition EcdhKeyAgreement.cpp:155
static QSharedPointer< EcdhKeyAgreement > create(const QSharedPointer< const PaceInfo > &pPaceInfo, const QSharedPointer< CardConnectionWorker > &pCardConnectionWorker)
Definition EcdhKeyAgreement.cpp:33
Definition KeyAgreement.h:30
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114
Definition KeyAgreement.h:33