From 18c67ac1339c9ca4f3604f5e5d44da0263b9ad21 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 28 Jun 2022 11:01:05 +0700 Subject: Generics migration in Cms --- crypto/src/cms/SignerInformation.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/src/cms/SignerInformation.cs') diff --git a/crypto/src/cms/SignerInformation.cs b/crypto/src/cms/SignerInformation.cs index 3ab1c09f9..551d9b737 100644 --- a/crypto/src/cms/SignerInformation.cs +++ b/crypto/src/cms/SignerInformation.cs @@ -1,5 +1,5 @@ using System; -using System.Collections; +using System.Collections.Generic; using System.IO; using Org.BouncyCastle.Asn1; @@ -256,10 +256,10 @@ namespace Org.BouncyCastle.Cms Asn1.Cms.AttributeTable unsignedAttributeTable = UnsignedAttributes; if (unsignedAttributeTable == null) { - return new SignerInformationStore(Platform.CreateArrayList(0)); + return new SignerInformationStore(new List(0)); } - IList counterSignatures = Platform.CreateArrayList(); + var counterSignatures = new List(); /* The UnsignedAttributes syntax is defined as a SET OF Attributes. The -- cgit 1.4.1