ISO18033KDFParameters.cs 454 B

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