44 const QSharedPointer<const chipauthenticationinfo_st> mDelegate;
47 [[nodiscard]] ASN1_OBJECT* getProtocolObjectIdentifier()
const override;
48 static bool acceptsProtocol(
const ASN1_OBJECT* pObjectIdentifier);
51 static QSharedPointer<const ChipAuthenticationInfo> decode(
const QByteArray& pBytes);
52 [[nodiscard]] QByteArray encode()
const;
54 [[nodiscard]]
int getVersion()
const;
55 [[nodiscard]]
bool hasKeyId()
const;
56 [[nodiscard]]
int getKeyId()
const;
60inline QDebug
operator<<(QDebug pDbg,
const QSharedPointer<const ChipAuthenticationInfo>& pChipAuthenticationInfo)
62 QDebugStateSaver saver(pDbg);
63 if (pChipAuthenticationInfo->hasKeyId())
65 pDbg.nospace().noquote() << pChipAuthenticationInfo->getOid()
66 <<
", version: " << pChipAuthenticationInfo->getVersion()
67 <<
", keyId: " << pChipAuthenticationInfo->getKeyId();
71 pDbg.nospace().noquote() << pChipAuthenticationInfo->getOid()
72 <<
", version: " << pChipAuthenticationInfo->getVersion();
#define DECLARE_ASN1_OBJECT(name)
Definition ASN1TemplateUtil.h:173
Definition ChipAuthenticationInfo.h:40
Definition SecurityInfo.h:42
Defines the AccessRight and AccessRole enum.
Definition CommandApdu.h:17
QDebug operator<<(QDebug pDbg, const CommandApdu &pCommandApdu)
Definition CommandApdu.h:96
Definition ChipAuthenticationInfo.h:26
ASN1_OBJECT * mProtocol
Definition ChipAuthenticationInfo.h:27
ASN1_INTEGER * mKeyId
Definition ChipAuthenticationInfo.h:29
ASN1_INTEGER * mVersion
Definition ChipAuthenticationInfo.h:28