diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-09 15:38:57 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-09 15:38:57 +0700 |
commit | 7e8ac607aa2c0943d4c272f2a57e17f3635be2fb (patch) | |
tree | ecab9bd7870bae55ab3dad3abb96e87445d6e9a4 /crypto/src | |
parent | ASN.1: Add support for relative OIDs (diff) | |
download | BouncyCastle.NET-ed25519-7e8ac607aa2c0943d4c272f2a57e17f3635be2fb.tar.xz |
Refactoring
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/asn1/Asn1InputStream.cs | 8 | ||||
-rw-r--r-- | crypto/src/asn1/LazyASN1InputStream.cs | 8 |
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) |