summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-07-25 18:02:45 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-07-25 18:02:45 +0700
commit510ceb7d6b857d8d50059fc63fccf64eeb207bf4 (patch)
tree24afdb9eb9b37b590797d530585df76f644ced81 /crypto/test
parentMark BER parser classes Obsolete (for removal from public API) (diff)
downloadBouncyCastle.NET-ed25519-510ceb7d6b857d8d50059fc63fccf64eeb207bf4.tar.xz
Make DL encoding public in Asn1 API
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/asn1/test/GeneralizedTimeTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/asn1/test/GeneralizedTimeTest.cs b/crypto/test/src/asn1/test/GeneralizedTimeTest.cs
index 266ca2753..c1d6b27ca 100644
--- a/crypto/test/src/asn1/test/GeneralizedTimeTest.cs
+++ b/crypto/test/src/asn1/test/GeneralizedTimeTest.cs
@@ -145,14 +145,14 @@ namespace Org.BouncyCastle.Asn1.Tests
                 // check BER encoding is still "as given"
                 Asn1GeneralizedTime ber = new Asn1GeneralizedTime("202208091215Z");
 
-                //IsTrue(Arrays.AreEqual(Hex.Decode("180d3230323230383039313231355a"), ber.GetEncoded(Asn1Encodable.DL)));
+                IsTrue(Arrays.AreEqual(Hex.Decode("180d3230323230383039313231355a"), ber.GetEncoded(Asn1Encodable.DL)));
                 IsTrue(Arrays.AreEqual(Hex.Decode("180d3230323230383039313231355a"), ber.GetEncoded(Asn1Encodable.Ber)));
                 IsTrue(Arrays.AreEqual(Hex.Decode("180f32303232303830393132313530305a"), ber.GetEncoded(Asn1Encodable.Der)));
 
                 // check always uses DER encoding
                 DerGeneralizedTime der = new DerGeneralizedTime("202208091215Z");
 
-                //IsTrue(Arrays.AreEqual(Hex.Decode("180f32303232303830393132313530305a"), der.GetEncoded(Asn1Encodable.DL)));
+                IsTrue(Arrays.AreEqual(Hex.Decode("180f32303232303830393132313530305a"), der.GetEncoded(Asn1Encodable.DL)));
                 IsTrue(Arrays.AreEqual(Hex.Decode("180f32303232303830393132313530305a"), der.GetEncoded(Asn1Encodable.Ber)));
                 IsTrue(Arrays.AreEqual(Hex.Decode("180f32303232303830393132313530305a"), der.GetEncoded(Asn1Encodable.Der)));
             }