summary refs log tree commit diff
path: root/crypto/src/tls/SupplementalDataEntry.cs
blob: baf42896822d7f8301a3e09f4c2b655903fed439 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;

namespace Org.BouncyCastle.Tls
{
    public sealed class SupplementalDataEntry
    {
        private readonly int m_dataType;
        private readonly byte[] m_data;

        public SupplementalDataEntry(int dataType, byte[] data)
        {
            this.m_dataType = dataType;
            this.m_data = data;
        }

        public int DataType
        {
            get { return m_dataType; }
        }

        public byte[] Data
        {
            get { return m_data; }
        }
    }
}