summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1Set.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 16:29:14 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 16:29:14 +0700
commitb31a21061c5a42bc4325a911bcc18169feaddbbf (patch)
treea611ace1d4c1337794b0f4e7ee2f4661a4b02589 /crypto/src/asn1/Asn1Set.cs
parentObsolete DerOutputStream (diff)
downloadBouncyCastle.NET-ed25519-b31a21061c5a42bc4325a911bcc18169feaddbbf.tar.xz
Add Asn1Encodable.EncodeTo methods
Diffstat (limited to 'crypto/src/asn1/Asn1Set.cs')
-rw-r--r--crypto/src/asn1/Asn1Set.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/Asn1Set.cs b/crypto/src/asn1/Asn1Set.cs
index 68ede2275..8c6e2f0e4 100644
--- a/crypto/src/asn1/Asn1Set.cs
+++ b/crypto/src/asn1/Asn1Set.cs
@@ -279,7 +279,7 @@ namespace Org.BouncyCastle.Asn1
             byte[][] keys = new byte[count][];
             for (int i = 0; i < count; ++i)
             {
-                keys[i] = elements[i].GetEncoded(Asn1Encodable.Der);
+                keys[i] = elements[i].GetEncoded(Der);
             }
             Array.Sort(keys, elements, new DerComparer());
 #endif