blob: 0b4c78eb3628cc11e4c8380263ad40c093580391 (
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 'Asn1SequenceParser' instead")]
public class BerSequenceParser
: Asn1SequenceParser
{
private readonly Asn1StreamParser m_parser;
internal BerSequenceParser(Asn1StreamParser parser)
{
m_parser = parser;
}
public IAsn1Convertible ReadObject() => m_parser.ReadObject();
public Asn1Object ToAsn1Object() => Parse(m_parser);
internal static BerSequence Parse(Asn1StreamParser sp) => BerSequence.FromVector(sp.ReadVector());
}
}
|