46 const QSharedPointer<const chipauthenticationinfo_st> mDelegate;
49 [[nodiscard]] ASN1_OBJECT* getProtocolObjectIdentifier()
const override;
50 static bool acceptsProtocol(
const ASN1_OBJECT* pObjectIdentifier);
53 static QSharedPointer<const ChipAuthenticationInfo> decode(
const QByteArray& pBytes);
54 [[nodiscard]] QByteArray
encode()
const;
56 [[nodiscard]]
int getVersion()
const;
57 [[nodiscard]]
bool hasKeyId()
const;
58 [[nodiscard]]
int getKeyId()
const;
62inline QDebug
operator<<(QDebug pDbg,
const QSharedPointer<const ChipAuthenticationInfo>& pChipAuthenticationInfo)
64 QDebugStateSaver saver(pDbg);
65 if (pChipAuthenticationInfo->hasKeyId())
67 pDbg.nospace().noquote() << pChipAuthenticationInfo->getOid()
68 <<
", version: " << pChipAuthenticationInfo->getVersion()
69 <<
", keyId: " << pChipAuthenticationInfo->getKeyId();
73 pDbg.nospace().noquote() << pChipAuthenticationInfo->getOid()
74 <<
", version: " << pChipAuthenticationInfo->getVersion();
#define DECLARE_ASN1_OBJECT(name)
Definition: ASN1TemplateUtil.h:176
Definition: ChipAuthenticationInfo.h:42
Definition: SecurityInfo.h:48
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16
QByteArray encode() const
QDebug operator<<(QDebug pDbg, const CommandApdu &pCommandApdu)
Definition: CommandApdu.h:94
Definition: ChipAuthenticationInfo.h:28
ASN1_OBJECT * mProtocol
Definition: ChipAuthenticationInfo.h:29
ASN1_INTEGER * mKeyId
Definition: ChipAuthenticationInfo.h:31
ASN1_INTEGER * mVersion
Definition: ChipAuthenticationInfo.h:30