We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7519bac commit a3a07f7Copy full SHA for a3a07f7
crypto/src/cms/CMSSignedHelper.cs
@@ -440,7 +440,7 @@ internal string GetEncOid(
440
441
public IX509Store GetCertificates(Asn1Set certificates)
442
{
443
- ArrayList certList = new ArrayList();
+ IList certList = Platform.CreateArrayList();
444
if (certificates != null)
445
446
foreach (Asn1Encodable enc in certificates)
crypto/src/openpgp/PgpObjectFactory.cs
@@ -151,7 +151,7 @@ public IList FilterPgpObjects(Type type)
151
PgpObject pgpObject;
152
while ((pgpObject = NextPgpObject()) != null)
153
154
- if (type.IsAssignableFrom(pgpObject.GetType()))
+ if (type.IsInstanceOfType(pgpObject.GetType()))
155
156
result.Add(pgpObject);
157
}
0 commit comments