aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/entity/encryption.vala
blob: ab5a0ae04976f250dfa0c85c4ed777467403b144 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Dino.Entities {

    public enum Encryption {
        NONE,
        PGP,
        OMEMO,
        DTLS_SRTP,
        SRTP,
        UNKNOWN;

        public bool is_some() {
            return this != NONE;
        }
    }

}