diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-10-14 14:17:03 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-10-14 14:17:03 +0700 |
commit | bd5c69224e0c177298607503ed4e2a50776a8370 (patch) | |
tree | 4efe6b206a421bbe9813544f6c17818496d59684 /crypto/src/asn1/DerApplicationSpecific.cs | |
parent | Obsolete BerOutputStream (diff) | |
download | BouncyCastle.NET-ed25519-bd5c69224e0c177298607503ed4e2a50776a8370.tar.xz |
Obsolete DerOutputStream
Diffstat (limited to 'crypto/src/asn1/DerApplicationSpecific.cs')
-rw-r--r-- | crypto/src/asn1/DerApplicationSpecific.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/src/asn1/DerApplicationSpecific.cs b/crypto/src/asn1/DerApplicationSpecific.cs index a2d57bf9d..7bba8c5a9 100644 --- a/crypto/src/asn1/DerApplicationSpecific.cs +++ b/crypto/src/asn1/DerApplicationSpecific.cs @@ -163,8 +163,7 @@ namespace Org.BouncyCastle.Asn1 return FromByteArray(tmp); } - internal override void Encode( - DerOutputStream derOut) + internal override void Encode(Asn1OutputStream asn1Out) { int classBits = Asn1Tags.Application; if (isConstructed) @@ -172,7 +171,7 @@ namespace Org.BouncyCastle.Asn1 classBits |= Asn1Tags.Constructed; } - derOut.WriteEncoded(classBits, tag, octets); + asn1Out.WriteEncoded(classBits, tag, octets); } protected override bool Asn1Equals( |