BERSetGenerator.cs 504 B

123456789101112131415161718192021222324252627
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. using System.IO;
  3. namespace Org.BouncyCastle.Asn1
  4. {
  5. public class BerSetGenerator
  6. : BerGenerator
  7. {
  8. public BerSetGenerator(
  9. Stream outStream)
  10. : base(outStream)
  11. {
  12. WriteBerHeader(Asn1Tags.Constructed | Asn1Tags.Set);
  13. }
  14. public BerSetGenerator(
  15. Stream outStream,
  16. int tagNo,
  17. bool isExplicit)
  18. : base(outStream, tagNo, isExplicit)
  19. {
  20. WriteBerHeader(Asn1Tags.Constructed | Asn1Tags.Set);
  21. }
  22. }
  23. }
  24. #endif