summary refs log tree commit diff
path: root/crypto/src/cms/CMSSignedDataGenerator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/cms/CMSSignedDataGenerator.cs')
-rw-r--r--crypto/src/cms/CMSSignedDataGenerator.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/cms/CMSSignedDataGenerator.cs b/crypto/src/cms/CMSSignedDataGenerator.cs
index fff22e057..646ed2c35 100644
--- a/crypto/src/cms/CMSSignedDataGenerator.cs
+++ b/crypto/src/cms/CMSSignedDataGenerator.cs
@@ -536,11 +536,11 @@ namespace Org.BouncyCastle.Cms
             ContentInfo encInfo = new ContentInfo(contentTypeOid, octs);
 
             SignedData sd = new SignedData(
-                new DerSet(digestAlgs),
+                DerSet.FromVector(digestAlgs),
                 encInfo,
                 certificates,
                 certrevlist,
-                new DerSet(signerInfos));
+                DerSet.FromVector(signerInfos));
 
             ContentInfo contentInfo = new ContentInfo(CmsObjectIdentifiers.SignedData, sd);