summary refs log tree commit diff
path: root/crypto/src/ocsp/BasicOCSPRespGenerator.cs
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2015-10-24 10:42:38 +1100
committerDavid Hook <dgh@cryptoworkshop.com>2015-10-24 10:42:38 +1100
commit0b0a6567a14b9d74780dc5ee1f26de46278e416a (patch)
tree906df03e5bbb035a75f1c97f09ec7a2624e57b2d /crypto/src/ocsp/BasicOCSPRespGenerator.cs
parentMerge branch 'master' of bcgit@git.bouncycastle.org:bc-csharp.git (diff)
downloadBouncyCastle.NET-ed25519-0b0a6567a14b9d74780dc5ee1f26de46278e416a.tar.xz
renamed ISignatureCalculator to ISignatureCalculatorFactory
Diffstat (limited to 'crypto/src/ocsp/BasicOCSPRespGenerator.cs')
-rw-r--r--crypto/src/ocsp/BasicOCSPRespGenerator.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/ocsp/BasicOCSPRespGenerator.cs b/crypto/src/ocsp/BasicOCSPRespGenerator.cs
index 9735ba177..14307c3ee 100644
--- a/crypto/src/ocsp/BasicOCSPRespGenerator.cs
+++ b/crypto/src/ocsp/BasicOCSPRespGenerator.cs
@@ -185,7 +185,7 @@ namespace Org.BouncyCastle.Ocsp
 		}
 
 		private BasicOcspResp GenerateResponse(
-			ISignatureCalculator    signatureCalculator,
+			ISignatureCalculatorFactory    signatureCalculator,
 			X509Certificate[]		chain,
 			DateTime				producedAt)
 		{
@@ -277,7 +277,7 @@ namespace Org.BouncyCastle.Ocsp
 				throw new ArgumentException("no signing algorithm specified");
 			}
 
-			return GenerateResponse(new Asn1SignatureCalculator(signingAlgorithm, privateKey, random), chain, producedAt);
+			return GenerateResponse(new Asn1SignatureCalculatorFactory(signingAlgorithm, privateKey, random), chain, producedAt);
 		}
 
         /// <summary>
@@ -288,7 +288,7 @@ namespace Org.BouncyCastle.Ocsp
         /// <param name="producedAt">"produced at" date.</param>
         /// <returns></returns>
         public BasicOcspResp Generate(
-            ISignatureCalculator signatureCalculator,
+            ISignatureCalculatorFactory signatureCalculator,
             X509Certificate[] chain,
             DateTime producedAt)
         {