BERSequenceGenerator.cs 529 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 BerSequenceGenerator
  6. : BerGenerator
  7. {
  8. public BerSequenceGenerator(
  9. Stream outStream)
  10. : base(outStream)
  11. {
  12. WriteBerHeader(Asn1Tags.Constructed | Asn1Tags.Sequence);
  13. }
  14. public BerSequenceGenerator(
  15. Stream outStream,
  16. int tagNo,
  17. bool isExplicit)
  18. : base(outStream, tagNo, isExplicit)
  19. {
  20. WriteBerHeader(Asn1Tags.Constructed | Asn1Tags.Sequence);
  21. }
  22. }
  23. }
  24. #endif