summary refs log tree commit diff
path: root/crypto/src/tls/CipherType.cs
blob: 3525960ff8ec0c07deed593af7028a56384d18c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;

namespace Org.BouncyCastle.Tls
{
    /// <summary>RFC 2246</summary>
    /// <remarks>
    /// Note that the values here are implementation-specific and arbitrary. It is recommended not to depend on the
    /// particular values (e.g. serialization).
    /// </remarks>
    public abstract class CipherType
    {
        public const int stream = 0;
        public const int block = 1;

        /*
         * RFC 5246
         */
        public const int aead = 2;
    }
}