summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1InputStream.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-11-09 15:38:57 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-11-09 15:38:57 +0700
commit7e8ac607aa2c0943d4c272f2a57e17f3635be2fb (patch)
treeecab9bd7870bae55ab3dad3abb96e87445d6e9a4 /crypto/src/asn1/Asn1InputStream.cs
parentASN.1: Add support for relative OIDs (diff)
downloadBouncyCastle.NET-ed25519-7e8ac607aa2c0943d4c272f2a57e17f3635be2fb.tar.xz
Refactoring
Diffstat (limited to 'crypto/src/asn1/Asn1InputStream.cs')
-rw-r--r--crypto/src/asn1/Asn1InputStream.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/src/asn1/Asn1InputStream.cs b/crypto/src/asn1/Asn1InputStream.cs
index 23431093e..b38598a62 100644
--- a/crypto/src/asn1/Asn1InputStream.cs
+++ b/crypto/src/asn1/Asn1InputStream.cs
@@ -143,14 +143,14 @@ namespace Org.BouncyCastle.Asn1
             return new Asn1InputStream(defIn, remaining, tmpBuffers).ReadVector();
         }
 
-        internal virtual DerSequence CreateDLSequence(DefiniteLengthInputStream dIn)
+        internal virtual Asn1Sequence CreateDLSequence(DefiniteLengthInputStream defIn)
         {
-            return DerSequence.FromVector(ReadVector(dIn));
+            return DerSequence.FromVector(ReadVector(defIn));
         }
 
-        internal virtual DerSet CreateDLSet(DefiniteLengthInputStream dIn)
+        internal virtual Asn1Set CreateDLSet(DefiniteLengthInputStream defIn)
         {
-            return DerSet.FromVector(ReadVector(dIn), false);
+            return DerSet.FromVector(ReadVector(defIn), false);
         }
 
         public Asn1Object ReadObject()