From 18c67ac1339c9ca4f3604f5e5d44da0263b9ad21 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 28 Jun 2022 11:01:05 +0700 Subject: Generics migration in Cms --- crypto/src/cmp/CertificateConfirmationContentBuilder.cs | 2 +- crypto/src/cmp/CertificateStatus.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/src/cmp') diff --git a/crypto/src/cmp/CertificateConfirmationContentBuilder.cs b/crypto/src/cmp/CertificateConfirmationContentBuilder.cs index 94f5eda8b..b0647f9a5 100644 --- a/crypto/src/cmp/CertificateConfirmationContentBuilder.cs +++ b/crypto/src/cmp/CertificateConfirmationContentBuilder.cs @@ -48,7 +48,7 @@ namespace Org.BouncyCastle.Cmp AlgorithmIdentifier algorithmIdentifier = sigAlgFinder.Find(cert.SigAlgName); - AlgorithmIdentifier digAlg = digestAlgFinder.find(algorithmIdentifier); + AlgorithmIdentifier digAlg = digestAlgFinder.Find(algorithmIdentifier); if (null == digAlg) throw new CmpException("cannot find algorithm for digest from signature"); diff --git a/crypto/src/cmp/CertificateStatus.cs b/crypto/src/cmp/CertificateStatus.cs index 0f1d9af9b..2e3afe3b6 100644 --- a/crypto/src/cmp/CertificateStatus.cs +++ b/crypto/src/cmp/CertificateStatus.cs @@ -36,7 +36,7 @@ namespace Org.BouncyCastle.Cmp public bool IsVerified(X509Certificate cert) { - AlgorithmIdentifier digAlg = digestAlgFinder.find(sigAlgFinder.Find(cert.SigAlgName)); + AlgorithmIdentifier digAlg = digestAlgFinder.Find(sigAlgFinder.Find(cert.SigAlgName)); if (null == digAlg) throw new CmpException("cannot find algorithm for digest from signature " + cert.SigAlgName); -- cgit 1.4.1