summary refs log tree commit diff
path: root/crypto/src/crmf/PKMacBuilder.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/crmf/PKMacBuilder.cs')
-rw-r--r--crypto/src/crmf/PKMacBuilder.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/crmf/PKMacBuilder.cs b/crypto/src/crmf/PKMacBuilder.cs
index ac9e7ca18..e8494c7a6 100644
--- a/crypto/src/crmf/PKMacBuilder.cs
+++ b/crypto/src/crmf/PKMacBuilder.cs
@@ -21,7 +21,7 @@ namespace Org.BouncyCastle.Crmf
         private readonly KeyParameter m_key;
         private readonly PbmParameter m_parameters;
 
-        public PKMacFactory(byte[] key, PbmParameter parameters)
+        internal PKMacFactory(byte[] key, PbmParameter parameters)
         {
             m_key = new KeyParameter(key);
             m_parameters = parameters;
@@ -47,7 +47,7 @@ namespace Org.BouncyCastle.Crmf
         private PbmParameter parameters;
         private int iterationCount;
         private int saltLength = 20;
-        private int maxIterations;
+        private readonly int maxIterations;
 
         /// <summary>
         /// Default, IterationCount = 1000, OIW=IdSha1, Mac=HmacSHA1