summary refs log tree commit diff
path: root/crypto/src/tls
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-07-19 16:18:31 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-07-19 16:18:31 +0700
commitc806df63e3df05eeeb9bf9523528930f5aea36ba (patch)
treecde87e1526ed04d69bc61b41364f41e8ff031506 /crypto/src/tls
parentRefactoring in Cms (diff)
downloadBouncyCastle.NET-ed25519-c806df63e3df05eeeb9bf9523528930f5aea36ba.tar.xz
Refactoring around SubjectPublicKeyInfo
Diffstat (limited to 'crypto/src/tls')
-rw-r--r--crypto/src/tls/crypto/impl/bc/BcTlsRawKeyCertificate.cs6
1 files changed, 3 insertions, 3 deletions
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);
         }