summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/src/asn1/Asn1InputStream.cs8
-rw-r--r--crypto/src/asn1/LazyASN1InputStream.cs8
2 files changed, 8 insertions, 8 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()
diff --git a/crypto/src/asn1/LazyASN1InputStream.cs b/crypto/src/asn1/LazyASN1InputStream.cs
index 2b120aafd..8dfbba122 100644
--- a/crypto/src/asn1/LazyASN1InputStream.cs
+++ b/crypto/src/asn1/LazyASN1InputStream.cs
@@ -21,14 +21,14 @@ namespace Org.BouncyCastle.Asn1
         {
         }
 
-        internal override DerSequence CreateDLSequence(DefiniteLengthInputStream dIn)
+        internal override Asn1Sequence CreateDLSequence(DefiniteLengthInputStream defIn)
         {
-            return new LazyDLSequence(dIn.ToArray());
+            return new LazyDLSequence(defIn.ToArray());
         }
 
-        internal override DerSet CreateDLSet(DefiniteLengthInputStream dIn)
+        internal override Asn1Set CreateDLSet(DefiniteLengthInputStream defIn)
         {
-            return new LazyDLSet(dIn.ToArray());
+            return new LazyDLSet(defIn.ToArray());
         }
 
         internal override Asn1EncodableVector ReadVector(DefiniteLengthInputStream defIn)