Skip to content

Commit

Permalink
added alg constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
dghbc committed Jan 14, 2019
1 parent ac16dcf commit 9be761f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crypto/src/crmf/PKMacBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ public PKMacBuilder(IPKMacPrimitivesProvider provider) :
{
}

public PKMacBuilder(IPKMacPrimitivesProvider provider, AlgorithmIdentifier digestAlgorithmIdentifier, AlgorithmIdentifier macAlgorithmIdentifier) :
this(digestAlgorithmIdentifier, 1000, macAlgorithmIdentifier, provider)
{
}

public PKMacBuilder(IPKMacPrimitivesProvider provider, int maxIterations)
{
this.provider = provider;
Expand Down

0 comments on commit 9be761f

Please sign in to comment.