CMSAuthenticatedGenerator.cs 1007 B

1234567891011121314151617181920212223242526272829303132
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using System.IO;
  5. using Best.HTTP.SecureProtocol.Org.BouncyCastle.Asn1;
  6. using Best.HTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
  7. using Best.HTTP.SecureProtocol.Org.BouncyCastle.Crypto;
  8. using Best.HTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
  9. using Best.HTTP.SecureProtocol.Org.BouncyCastle.Security;
  10. using Best.HTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date;
  11. using Best.HTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO;
  12. namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Cms
  13. {
  14. public class CmsAuthenticatedGenerator
  15. : CmsEnvelopedGenerator
  16. {
  17. public CmsAuthenticatedGenerator()
  18. {
  19. }
  20. /// <summary>Constructor allowing specific source of randomness</summary>
  21. /// <param name="random">Instance of <c>SecureRandom</c> to use.</param>
  22. public CmsAuthenticatedGenerator(SecureRandom random)
  23. : base(random)
  24. {
  25. }
  26. }
  27. }
  28. #pragma warning restore
  29. #endif