Messagelib
9#include "messageviewer_private_export.h"
12namespace MessageViewer
14class MESSAGEVIEWER_TESTS_EXPORT DKIMAuthenticationStatusInfo
17 DKIMAuthenticationStatusInfo();
19 struct AuthStatusInfo {
23 [[nodiscard]]
bool isValid()
const
25 return !type.isEmpty() && !value.
isEmpty();
28 [[nodiscard]]
bool operator==(
const Property &other)
const
30 return other.type == type && other.value == value;
37 int methodVersion = -1;
41 QList<Property> header;
43 QList<Property> policy;
45 [[nodiscard]]
bool operator==(
const AuthStatusInfo &other)
const;
46 [[nodiscard]]
bool isValid()
const;
49 [[nodiscard]] QString authservId()
const;
50 void setAuthservId(
const QString &authservId);
52 [[nodiscard]]
bool parseAuthenticationStatus(
const QString &key,
bool relaxingParsing);
54 [[nodiscard]]
int authVersion()
const;
55 void setAuthVersion(
int authVersion);
57 [[nodiscard]] QString reasonSpec()
const;
58 void setReasonSpec(
const QString &reasonSpec);
60 [[nodiscard]]
bool operator==(
const DKIMAuthenticationStatusInfo &other)
const;
62 [[nodiscard]] QList<AuthStatusInfo> listAuthStatusInfo()
const;
63 void setListAuthStatusInfo(
const QList<AuthStatusInfo> &listAuthStatusInfo);
66 [[nodiscard]] AuthStatusInfo parseAuthResultInfo(QString &valueKey,
bool relaxingParsing);
67 QList<AuthStatusInfo> mListAuthStatusInfo;
70 int mAuthVersion = -1;
73Q_DECLARE_METATYPE(MessageViewer::DKIMAuthenticationStatusInfo)
74Q_DECLARE_TYPEINFO(MessageViewer::DKIMAuthenticationStatusInfo::AuthStatusInfo, Q_RELOCATABLE_TYPE);
75MESSAGEVIEWER_EXPORT
QDebug operator<<(
QDebug d,
const MessageViewer::DKIMAuthenticationStatusInfo &t);
bool isValid(QStringView ifopt)
bool operator==(const StyleDelim &l, const StyleDelim &r)
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:05:41 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.