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

namespace Org.BouncyCastle.Asn1
{
	public class BerApplicationSpecificParser
		: BerTaggedObjectParser, IAsn1ApplicationSpecificParser
	{
		internal BerApplicationSpecificParser(int tagNo, Asn1StreamParser parser)
            : base(Asn1Tags.Application, tagNo, parser)
		{
		}

		public IAsn1Convertible ReadObject()
		{
            // NOTE: No way to say you're looking for an implicitly-tagged object via IAsn1ApplicationSpecificParser
            return ParseExplicitBaseObject();
        }
	}
}