ISO18033KDFParameters.cs 548 B

1234567891011121314151617181920212223242526272829
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto;
  5. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
  6. {
  7. /**
  8. * parameters for Key derivation functions for ISO-18033
  9. */
  10. public class Iso18033KdfParameters
  11. : IDerivationParameters
  12. {
  13. byte[] seed;
  14. public Iso18033KdfParameters(
  15. byte[] seed)
  16. {
  17. this.seed = seed;
  18. }
  19. public byte[] GetSeed()
  20. {
  21. return seed;
  22. }
  23. }
  24. }
  25. #pragma warning restore
  26. #endif