CMSAuthenticatedGenerator.cs 980 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using System.IO;
  5. using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
  6. using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
  7. using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto;
  8. using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
  9. using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
  10. using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date;
  11. using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO;
  12. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms
  13. {
  14. public class CmsAuthenticatedGenerator
  15. : CmsEnvelopedGenerator
  16. {
  17. /**
  18. * base constructor
  19. */
  20. public CmsAuthenticatedGenerator()
  21. {
  22. }
  23. /**
  24. * constructor allowing specific source of randomness
  25. *
  26. * @param rand instance of SecureRandom to use
  27. */
  28. public CmsAuthenticatedGenerator(
  29. SecureRandom rand)
  30. : base(rand)
  31. {
  32. }
  33. }
  34. }
  35. #pragma warning restore
  36. #endif