29 lines
575 B
C#
29 lines
575 B
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
|
#pragma warning disable
|
|
using System.IO;
|
|
|
|
namespace BestHTTP.SecureProtocol.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);
|
|
}
|
|
}
|
|
}
|
|
#pragma warning restore
|
|
#endif
|