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.
 
 
 
 
 
 

36 lines
768 B

using System;
namespace Org.BouncyCastle.Asn1
{
public class DerExternalParser
: Asn1Encodable
{
private readonly Asn1StreamParser _parser;
[Obsolete("Will be removed")]
public DerExternalParser(Asn1StreamParser parser)
{
this._parser = parser;
}
[Obsolete]
public IAsn1Convertible ReadObject()
{
return _parser.ReadObject();
}
[Obsolete]
#pragma warning disable CS0809 // 过时成员重写未过时成员
public override Asn1Object ToAsn1Object()
#pragma warning restore CS0809 // 过时成员重写未过时成员
{
return Parse(_parser);
}
[Obsolete]
internal static DerExternal Parse(Asn1StreamParser sp)
{
return new DerExternal(sp.ReadVector());
}
}
}