CcmParameters.cs 661 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.Crypto.Parameters
  5. {
  6. public class CcmParameters
  7. : AeadParameters
  8. {
  9. /**
  10. * Base constructor.
  11. *
  12. * @param key key to be used by underlying cipher
  13. * @param macSize macSize in bits
  14. * @param nonce nonce to be used
  15. * @param associatedText associated text, if any
  16. */
  17. public CcmParameters(
  18. KeyParameter key,
  19. int macSize,
  20. byte[] nonce,
  21. byte[] associatedText)
  22. : base(key, macSize, nonce, associatedText)
  23. {
  24. }
  25. }
  26. }
  27. #pragma warning restore
  28. #endif