blob: 63be54524b6dc913a031e47a575c3e223d686208 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using System;
namespace Org.BouncyCastle.Asn1
{
[Obsolete("Check for 'Asn1SetParser' instead")]
public class BerSetParser
: Asn1SetParser
{
private readonly Asn1StreamParser m_parser;
internal BerSetParser(Asn1StreamParser parser)
{
m_parser = parser;
}
public IAsn1Convertible ReadObject() => m_parser.ReadObject();
public Asn1Object ToAsn1Object() => Parse(m_parser);
internal static BerSet Parse(Asn1StreamParser sp) => BerSet.FromVector(sp.ReadVector());
}
}
|