SupplementalDataEntry.cs 610 B

123456789101112131415161718192021222324252627282930
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. using System;
  3. namespace Org.BouncyCastle.Crypto.Tls
  4. {
  5. public class SupplementalDataEntry
  6. {
  7. protected readonly int mDataType;
  8. protected readonly byte[] mData;
  9. public SupplementalDataEntry(int dataType, byte[] data)
  10. {
  11. this.mDataType = dataType;
  12. this.mData = data;
  13. }
  14. public virtual int DataType
  15. {
  16. get { return mDataType; }
  17. }
  18. public virtual byte[] Data
  19. {
  20. get { return mData; }
  21. }
  22. }
  23. }
  24. #endif