48 const QSharedPointer<const chipauthenticationinfo_st> mDelegate;
51 [[nodiscard]] ASN1_OBJECT* getProtocolObjectIdentifier()
const override;
52 static bool acceptsProtocol(
const ASN1_OBJECT* pObjectIdentifier);
55 static QSharedPointer<const ChipAuthenticationInfo> decode(
const QByteArray& pBytes);
56 [[nodiscard]] QByteArray
encode()
const;
58 [[nodiscard]]
int getVersion()
const;
59 [[nodiscard]]
bool hasKeyId()
const;
60 [[nodiscard]]
int getKeyId()
const;
64inline QDebug
operator<<(QDebug pDbg,
const QSharedPointer<const ChipAuthenticationInfo>& pChipAuthenticationInfo)
66 QDebugStateSaver saver(pDbg);
67 if (pChipAuthenticationInfo->hasKeyId())
69 pDbg.nospace().noquote() << pChipAuthenticationInfo->getOid()
70 <<
", version: " << pChipAuthenticationInfo->getVersion()
71 <<
", keyId: " << pChipAuthenticationInfo->getKeyId();
75 pDbg.nospace().noquote() << pChipAuthenticationInfo->getOid()
76 <<
", version: " << pChipAuthenticationInfo->getVersion();
#define DECLARE_ASN1_OBJECT(name)
Definition ASN1TemplateUtil.h:177
Definition ChipAuthenticationInfo.h:44
Definition SecurityInfo.h:46
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
QByteArray encode() const
QDebug operator<<(QDebug pDbg, const CommandApdu &pCommandApdu)
Definition CommandApdu.h:96
Definition ChipAuthenticationInfo.h:30
ASN1_OBJECT * mProtocol
Definition ChipAuthenticationInfo.h:31
ASN1_INTEGER * mKeyId
Definition ChipAuthenticationInfo.h:33
ASN1_INTEGER * mVersion
Definition ChipAuthenticationInfo.h:32