18 references to PublicKey
System (3)
security\system\security\cryptography\x509\x509certificate2.cs (3)
539PublicKey pubKey = this.PublicKey; 791switch (this.PublicKey.AlgorithmId) { 843ICspAsymmetricAlgorithm publicKey = this.PublicKey.Key as ICspAsymmetricAlgorithm;
System.Core (4)
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (2)
362string algName = certificate.PublicKey.Oid.FriendlyName; 363string value = certificate.PublicKey.Oid.Value;
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (2)
32PublicKey publicKey = certificate.PublicKey; 164uint algorithmId = OidToAlgorithmId(certificate.PublicKey.Oid);
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 (2)
system\security\cryptography\pkcs\pkcsutils.cs (1)
722signer.Certificate.PublicKey.Oid.Value,
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;