namespace AIStudio.Tools.Mail;
///
/// How the content of a mail is protected so that AI Studio cannot read it.
///
///
/// Of such a mail, only its header block is indexed. A mail which is merely signed in the clear
/// (multipart/signed) stays readable and is NONE.
///
public enum MailEncryptionKind
{
///
/// The content is readable.
///
NONE,
///
/// A kind this version does not know, e.g. stored by a newer version. Such a mail still counts as encrypted.
///
UNKNOWN,
///
/// S/MIME, enveloped data.
///
SMIME,
///
/// S/MIME with the signature wrapped around the content, which then cannot be read without the S/MIME envelope.
///
SMIME_OPAQUE_SIGNED,
///
/// PGP/MIME, multipart/encrypted.
///
PGP_MIME,
///
/// A PGP message block within the text of the mail.
///
PGP_INLINE,
///
/// Microsoft Information Rights Management, i.e., a message.rpmsg attachment.
///
MICROSOFT_IRM,
}