summary refs log tree commit diff
path: root/crypto/src/asn1/tsp/ArchiveTimeStampSequence.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-07-01 20:31:14 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-07-01 20:31:14 +0700
commit192a98faa4536772b03a5cd59b6e4ab4a2ec2461 (patch)
tree9a254e2c0d7ca92b7e8108c554c2c8dbc547f79d /crypto/src/asn1/tsp/ArchiveTimeStampSequence.cs
parentRefactoring in Asn1.X500 (diff)
downloadBouncyCastle.NET-ed25519-192a98faa4536772b03a5cd59b6e4ab4a2ec2461.tar.xz
Asn1Sequence subclass static methods
Diffstat (limited to 'crypto/src/asn1/tsp/ArchiveTimeStampSequence.cs')
-rw-r--r--crypto/src/asn1/tsp/ArchiveTimeStampSequence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/tsp/ArchiveTimeStampSequence.cs b/crypto/src/asn1/tsp/ArchiveTimeStampSequence.cs
index 3ddeed4dd..300768359 100644
--- a/crypto/src/asn1/tsp/ArchiveTimeStampSequence.cs
+++ b/crypto/src/asn1/tsp/ArchiveTimeStampSequence.cs
@@ -39,7 +39,7 @@ namespace Org.BouncyCastle.Asn1.Tsp
 
         private ArchiveTimeStampSequence(Asn1Sequence seq)
         {
-            m_archiveTimeStampChains = DerSequence.FromElements(seq.MapElements(ArchiveTimeStampChain.GetInstance));
+            m_archiveTimeStampChains = DerSequence.Map(seq, ArchiveTimeStampChain.GetInstance);
         }
 
         public ArchiveTimeStampSequence(ArchiveTimeStampChain archiveTimeStampChain)