summary refs log tree commit diff
path: root/crypto/src/asn1/BERSetGenerator.cs
blob: 29fc37b93b0915ecc9e18a9489139ad2d13c5716 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.IO;

namespace Org.BouncyCastle.Asn1
{
	public class BerSetGenerator
		: BerGenerator
	{
		public BerSetGenerator(Stream outStream)
			: base(outStream)
		{
			WriteBerHeader(Asn1Tags.Constructed | Asn1Tags.Set);
		}

		public BerSetGenerator(Stream outStream, int tagNo, bool isExplicit)
			: base(outStream, tagNo, isExplicit)
		{
			WriteBerHeader(Asn1Tags.Constructed | Asn1Tags.Set);
		}
	}
}