We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb42fc9 commit 90f0dfaCopy full SHA for 90f0dfa
itext/itext.bouncy-castle-fips-adapter/itext/bouncycastlefips/cert/ocsp/CertIDBCFips.cs
@@ -35,6 +35,7 @@ You should have received a copy of the GNU Affero General Public License
35
using Org.BouncyCastle.Asn1.X500;
36
using Org.BouncyCastle.Asn1.X509;
37
using Org.BouncyCastle.Crypto;
38
+using Org.BouncyCastle.Ocsp;
39
40
namespace iText.Bouncycastlefips.Cert.Ocsp {
41
/// <summary>
@@ -44,7 +45,7 @@ namespace iText.Bouncycastlefips.Cert.Ocsp {
44
45
public class CertIDBCFips : ICertID {
46
private static readonly CertIDBCFips INSTANCE = new CertIDBCFips(null);
47
- private static readonly string HASH_SHA1 = CryptoConfig.MapNameToOID("SHA1");
48
+ private static readonly string HASH_SHA1 = CertificateID.HashSha1.Algorithm.Id;
49
50
private readonly CertID certificateID;
51
0 commit comments