9 references to GetRSAPublicKey
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (1)
38using (RSA? publicKey = GetRSAPublicKey(certificate))
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
580using (RSA? pubRsa = this.GetRSAPublicKey())
System.Security.Cryptography.Pkcs (5)
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
172using (RSA rsa = recipient.Certificate.GetRSAPublicKey()!)
System\Security\Cryptography\Pkcs\CmsSignature.RSA.cs (4)
74RSA? publicKey = certificate.GetRSAPublicKey(); 114using (GetSigningKey(key, certificate, silent, RSACertificateExtensions.GetRSAPublicKey, out RSA? privateKey)) 138using (RSA certKey = certificate.GetRSAPublicKey()!) 163using (RSA certKey = certificate.GetRSAPublicKey()!)
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\EncryptedXml.cs (1)
533using (RSA? rsaPublicKey = certificate.GetRSAPublicKey())
System\Security\Cryptography\Xml\Utils.cs (1)
750AsymmetricAlgorithm? algorithm = (AsymmetricAlgorithm?)certificate.GetRSAPublicKey() ?? certificate.GetECDsaPublicKey();