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

namespace Org.BouncyCastle.Tls.Crypto
{
    public sealed class TlsEncodeResult
    {
        public readonly byte[] buf;
        public readonly int off, len;
        public readonly short recordType;

        public TlsEncodeResult(byte[] buf, int off, int len, short recordType)
        {
            this.buf = buf;
            this.off = off;
            this.len = len;
            this.recordType = recordType;
        }
    }
}