18 references to PublicKey
System (3)
security\system\security\cryptography\x509\x509certificate2.cs (3)
539
PublicKey pubKey = this.
PublicKey
;
791
switch (this.
PublicKey
.AlgorithmId) {
843
ICspAsymmetricAlgorithm publicKey = this.
PublicKey
.Key as ICspAsymmetricAlgorithm;
System.Core (4)
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (2)
362
string algName = certificate.
PublicKey
.Oid.FriendlyName;
363
string value = certificate.
PublicKey
.Oid.Value;
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (2)
32
PublicKey publicKey = certificate.
PublicKey
;
164
uint algorithmId = OidToAlgorithmId(certificate.
PublicKey
.Oid);
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (3)
99
int keySizeInBytes = certificate.
PublicKey
.Key.KeySize / 8;
199
int keySizeInBytes = certificate.
PublicKey
.Key.KeySize / 8;
514
RSACryptoServiceProvider rscp = (RSACryptoServiceProvider)certificate.
PublicKey
.Key;
System.IdentityModel (4)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
198
rsa = this.certificate.
PublicKey
.Key as RSA;
System\IdentityModel\Tokens\X509AsymmetricSecurityKey.cs (1)
93
this.publicKey = this.certificate.
PublicKey
.Key;
System\IdentityModel\X509Util.cs (2)
234
rsa = certificate.
PublicKey
.Key as RSA;
248
dsa = certificate.
PublicKey
.Key as DSA;
System.Security (2)
system\security\cryptography\pkcs\pkcsutils.cs (1)
722
signer.Certificate.
PublicKey
.Oid.Value,
system\security\cryptography\xml\signedxml.cs (1)
500
return LocalAppContextSwitches.SignedXmlUseLegacyCertificatePrivateKey ? certificate.
PublicKey
.Key : certificate.GetAnyPublicKey();
System.ServiceModel (2)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
28
RSACryptoServiceProvider keyProv = cert.
PublicKey
.Key as RSACryptoServiceProvider;
System\ServiceModel\RsaEndpointIdentity.cs (1)
32
RSA rsa = certificate.
PublicKey
.Key as RSA;