summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/src/crmf/PKMacBuilder.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/crmf/PKMacBuilder.cs b/crypto/src/crmf/PKMacBuilder.cs
index 5e3a5844d..3dec4e86f 100644
--- a/crypto/src/crmf/PKMacBuilder.cs
+++ b/crypto/src/crmf/PKMacBuilder.cs
@@ -117,6 +117,11 @@ namespace Org.BouncyCastle.Crmf
         {       
         }
 
+        public PKMacBuilder(IPKMacPrimitivesProvider provider, AlgorithmIdentifier digestAlgorithmIdentifier, AlgorithmIdentifier macAlgorithmIdentifier) :
+            this(digestAlgorithmIdentifier, 1000, macAlgorithmIdentifier, provider)
+        {
+        }
+
         public PKMacBuilder(IPKMacPrimitivesProvider provider, int maxIterations)
         {
             this.provider = provider;