diff options
author | David Hook <dgh@cryptoworkshop.com> | 2015-10-24 10:42:38 +1100 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2015-10-24 10:42:38 +1100 |
commit | 0b0a6567a14b9d74780dc5ee1f26de46278e416a (patch) | |
tree | 906df03e5bbb035a75f1c97f09ec7a2624e57b2d /crypto/src/ocsp | |
parent | Merge branch 'master' of bcgit@git.bouncycastle.org:bc-csharp.git (diff) | |
download | BouncyCastle.NET-ed25519-0b0a6567a14b9d74780dc5ee1f26de46278e416a.tar.xz |
renamed ISignatureCalculator to ISignatureCalculatorFactory
Diffstat (limited to 'crypto/src/ocsp')
-rw-r--r-- | crypto/src/ocsp/BasicOCSPRespGenerator.cs | 6 |
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) { |