From c806df63e3df05eeeb9bf9523528930f5aea36ba Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 19 Jul 2023 16:18:31 +0700 Subject: Refactoring around SubjectPublicKeyInfo --- crypto/src/tls/crypto/impl/bc/BcTlsRawKeyCertificate.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/src/tls') diff --git a/crypto/src/tls/crypto/impl/bc/BcTlsRawKeyCertificate.cs b/crypto/src/tls/crypto/impl/bc/BcTlsRawKeyCertificate.cs index 4d208b35a..0e05b374a 100644 --- a/crypto/src/tls/crypto/impl/bc/BcTlsRawKeyCertificate.cs +++ b/crypto/src/tls/crypto/impl/bc/BcTlsRawKeyCertificate.cs @@ -414,19 +414,19 @@ namespace Org.BouncyCastle.Tls.Crypto.Impl.BC protected virtual bool SupportsRsa_Pkcs1() { - AlgorithmIdentifier pubKeyAlgID = m_keyInfo.AlgorithmID; + AlgorithmIdentifier pubKeyAlgID = m_keyInfo.Algorithm; return RsaUtilities.SupportsPkcs1(pubKeyAlgID); } protected virtual bool SupportsRsa_Pss_Pss(short signatureAlgorithm) { - AlgorithmIdentifier pubKeyAlgID = m_keyInfo.AlgorithmID; + AlgorithmIdentifier pubKeyAlgID = m_keyInfo.Algorithm; return RsaUtilities.SupportsPss_Pss(signatureAlgorithm, pubKeyAlgID); } protected virtual bool SupportsRsa_Pss_Rsae() { - AlgorithmIdentifier pubKeyAlgID = m_keyInfo.AlgorithmID; + AlgorithmIdentifier pubKeyAlgID = m_keyInfo.Algorithm; return RsaUtilities.SupportsPss_Rsae(pubKeyAlgID); } -- cgit 1.4.1