12 references to Key
System (2)
security\system\security\cryptography\x509\x509certificate2.cs (2)
547temp = pubKey.Key.KeySize.ToString(); 843ICspAsymmetricAlgorithm publicKey = this.PublicKey.Key as ICspAsymmetricAlgorithm;
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (3)
99int keySizeInBytes = certificate.PublicKey.Key.KeySize / 8; 199int keySizeInBytes = certificate.PublicKey.Key.KeySize / 8; 514RSACryptoServiceProvider rscp = (RSACryptoServiceProvider)certificate.PublicKey.Key;
System.IdentityModel (4)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
198rsa = this.certificate.PublicKey.Key as RSA;
System\IdentityModel\Tokens\X509AsymmetricSecurityKey.cs (1)
93this.publicKey = this.certificate.PublicKey.Key;
System\IdentityModel\X509Util.cs (2)
234rsa = certificate.PublicKey.Key as RSA; 248dsa = certificate.PublicKey.Key as DSA;
System.Security (1)
system\security\cryptography\xml\signedxml.cs (1)
500return LocalAppContextSwitches.SignedXmlUseLegacyCertificatePrivateKey ? certificate.PublicKey.Key : certificate.GetAnyPublicKey();
System.ServiceModel (2)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
28RSACryptoServiceProvider keyProv = cert.PublicKey.Key as RSACryptoServiceProvider;
System\ServiceModel\RsaEndpointIdentity.cs (1)
32RSA rsa = certificate.PublicKey.Key as RSA;