Files
tianrunCRM/Assets/BestHTTP/SecureProtocol/crypto/tls/SupplementalDataEntry.cs
2020-07-09 08:50:24 +08:00

31 lines
640 B
C#

#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System;
namespace Org.BouncyCastle.Crypto.Tls
{
public class SupplementalDataEntry
{
protected readonly int mDataType;
protected readonly byte[] mData;
public SupplementalDataEntry(int dataType, byte[] data)
{
this.mDataType = dataType;
this.mData = data;
}
public virtual int DataType
{
get { return mDataType; }
}
public virtual byte[] Data
{
get { return mData; }
}
}
}
#endif