add all
This commit is contained in:
30
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/tls/SupplementalDataEntry.cs
vendored
Normal file
30
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/tls/SupplementalDataEntry.cs
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
using System;
|
||||
|
||||
namespace Best.HTTP.SecureProtocol.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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user