diff options
Diffstat (limited to 'crypto/src/asn1/DerApplicationSpecific.cs')
-rw-r--r-- | crypto/src/asn1/DerApplicationSpecific.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/src/asn1/DerApplicationSpecific.cs b/crypto/src/asn1/DerApplicationSpecific.cs index 92443b917..d474034ed 100644 --- a/crypto/src/asn1/DerApplicationSpecific.cs +++ b/crypto/src/asn1/DerApplicationSpecific.cs @@ -126,6 +126,11 @@ namespace Org.BouncyCastle.Asn1 return m_taggedObject.ParseBaseUniversal(declaredExplicit, baseTagNo); } + public IAsn1Convertible ParseExplicitBaseObject() + { + return TaggedObject.ParseExplicitBaseObject(); + } + public Asn1TaggedObjectParser ParseExplicitBaseTagged() { return m_taggedObject.ParseExplicitBaseTagged(); @@ -160,7 +165,7 @@ namespace Org.BouncyCastle.Asn1 public IAsn1Convertible ReadObject() { // NOTE: No way to say you're looking for an implicitly-tagged object via IAsn1ApplicationSpecificParser - return m_taggedObject.GetBaseObject(); + return ParseExplicitBaseObject(); } public int TagClass |