summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorDavid Hook <dgh@bouncycastle.org>2019-01-15 09:47:25 +1100
committerDavid Hook <dgh@bouncycastle.org>2019-01-15 09:47:25 +1100
commit9be761f2c1c7a6c89c7d390c5ce4ee078c04583c (patch)
tree664cedda65528a778a80b6d23c518e231f291e15 /crypto/src
parentremoved generic (diff)
downloadBouncyCastle.NET-ed25519-9be761f2c1c7a6c89c7d390c5ce4ee078c04583c.tar.xz
added alg constructor
Diffstat (limited to 'crypto/src')
-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;