diff options
author | David Hook <dgh@bouncycastle.org> | 2019-01-15 09:47:25 +1100 |
---|---|---|
committer | David Hook <dgh@bouncycastle.org> | 2019-01-15 09:47:25 +1100 |
commit | 9be761f2c1c7a6c89c7d390c5ce4ee078c04583c (patch) | |
tree | 664cedda65528a778a80b6d23c518e231f291e15 /crypto/src | |
parent | removed generic (diff) | |
download | BouncyCastle.NET-ed25519-9be761f2c1c7a6c89c7d390c5ce4ee078c04583c.tar.xz |
added alg constructor
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/crmf/PKMacBuilder.cs | 5 |
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; |