You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
692 B
33 lines
692 B
using System;
|
|
|
|
namespace Org.BouncyCastle.Asn1
|
|
{
|
|
public class BerSequenceParser
|
|
: Asn1SequenceParser
|
|
{
|
|
private readonly Asn1StreamParser _parser;
|
|
|
|
internal BerSequenceParser(Asn1StreamParser parser)
|
|
{
|
|
this._parser = parser;
|
|
}
|
|
|
|
[Obsolete]
|
|
public IAsn1Convertible ReadObject()
|
|
{
|
|
return _parser.ReadObject();
|
|
}
|
|
|
|
[Obsolete]
|
|
public Asn1Object ToAsn1Object()
|
|
{
|
|
return Parse(_parser);
|
|
}
|
|
|
|
[Obsolete]
|
|
internal static BerSequence Parse(Asn1StreamParser sp)
|
|
{
|
|
return new BerSequence(sp.ReadVector());
|
|
}
|
|
}
|
|
}
|
|
|