diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-19 16:18:31 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-19 16:18:31 +0700 |
commit | c806df63e3df05eeeb9bf9523528930f5aea36ba (patch) | |
tree | cde87e1526ed04d69bc61b41364f41e8ff031506 /crypto/src/tls | |
parent | Refactoring in Cms (diff) | |
download | BouncyCastle.NET-ed25519-c806df63e3df05eeeb9bf9523528930f5aea36ba.tar.xz |
Refactoring around SubjectPublicKeyInfo
Diffstat (limited to 'crypto/src/tls')
-rw-r--r-- | crypto/src/tls/crypto/impl/bc/BcTlsRawKeyCertificate.cs | 6 |
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); } |