diff options
Diffstat (limited to 'crypto/src/asn1/Asn1InputStream.cs')
-rw-r--r-- | crypto/src/asn1/Asn1InputStream.cs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/crypto/src/asn1/Asn1InputStream.cs b/crypto/src/asn1/Asn1InputStream.cs index 935568550..4cca8aaf5 100644 --- a/crypto/src/asn1/Asn1InputStream.cs +++ b/crypto/src/asn1/Asn1InputStream.cs @@ -109,9 +109,9 @@ namespace Org.BouncyCastle.Asn1 return BuildConstructedOctetString(ReadVector(defIn)); } case Asn1Tags.Sequence: - return CreateDerSequence(defIn); + return CreateDLSequence(defIn); case Asn1Tags.Set: - return CreateDerSet(defIn); + return CreateDLSet(defIn); case Asn1Tags.External: return new DerExternal(ReadVector(defIn)); default: @@ -143,14 +143,12 @@ namespace Org.BouncyCastle.Asn1 return new Asn1InputStream(defIn, remaining, tmpBuffers).ReadVector(); } - internal virtual DerSequence CreateDerSequence( - DefiniteLengthInputStream dIn) + internal virtual DerSequence CreateDLSequence(DefiniteLengthInputStream dIn) { return DerSequence.FromVector(ReadVector(dIn)); } - internal virtual DerSet CreateDerSet( - DefiniteLengthInputStream dIn) + internal virtual DerSet CreateDLSet(DefiniteLengthInputStream dIn) { return DerSet.FromVector(ReadVector(dIn), false); } |