7 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)
575using (RSA? pubRsa = this.GetRSAPublicKey())
System.Security.Cryptography.Pkcs (3)
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
171using (RSA rsa = recipient.Certificate.GetRSAPublicKey()!)
System\Security\Cryptography\Pkcs\CmsSignature.RSA.cs (2)
75RSA? publicKey = certificate.GetRSAPublicKey(); 112RSA certPublicKey = certificate.GetRSAPublicKey()!;
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\EncryptedXml.cs (1)
557using (RSA? rsaPublicKey = certificate.GetRSAPublicKey())
System\Security\Cryptography\Xml\Utils.cs (1)
762AsymmetricAlgorithm? algorithm = (AsymmetricAlgorithm?)certificate.GetRSAPublicKey() ?? certificate.GetECDsaPublicKey();