SupplementalDataEntry.cs 666 B

123456789101112131415161718192021222324252627282930
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls
  5. {
  6. public sealed class SupplementalDataEntry
  7. {
  8. private readonly int m_dataType;
  9. private readonly byte[] m_data;
  10. public SupplementalDataEntry(int dataType, byte[] data)
  11. {
  12. this.m_dataType = dataType;
  13. this.m_data = data;
  14. }
  15. public int DataType
  16. {
  17. get { return m_dataType; }
  18. }
  19. public byte[] Data
  20. {
  21. get { return m_data; }
  22. }
  23. }
  24. }
  25. #pragma warning restore
  26. #endif