21 references to X509Certificate2
System (2)
net\System\Net\HttpListenerRequest.cs (2)
144
result = httpListenerRequest.ClientCertificate = new
X509Certificate2
(certEncoded);
959
m_ClientCertificate = new
X509Certificate2
(certEncoded);
System.Core (1)
System\Security\Cryptography\Xml\ManifestSignedXml.cs (1)
109
X509Certificate2 signingCertificate = new
X509Certificate2
(rawCertificate);
System.IdentityModel (7)
System\IdentityModel\Metadata\MetadataSerializer.cs (1)
676
return new
X509Certificate2
(clause.GetX509RawData());
System\IdentityModel\SecurityUtils.cs (1)
525
certificate = (rawData == null || rawData.Length == 0) ? null : new
X509Certificate2
(rawData);
System\IdentityModel\Tokens\IssuerTokenResolver.cs (1)
142
token = new X509SecurityToken( new
X509Certificate2
( rawDataClause.GetX509RawData() ) );
System\IdentityModel\Tokens\SamlSerializer.cs (1)
240
token = new X509SecurityToken(new
X509Certificate2
(rawDataKeyIdentifierClause.GetX509RawData()));
System\IdentityModel\Tokens\X509RawDataKeyIdentifierClause.cs (1)
42
this.certificate = new
X509Certificate2
(GetBuffer());
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (2)
472
new X509SecurityToken(new
X509Certificate2
(binaryData)) :
473
new X509SecurityToken(new
X509Certificate2
(binaryData), wsuId);
System.Net (1)
net\PeerToPeer\Collaboration\PeerContact.cs (1)
340
m_credentials = new
X509Certificate2
(rawData); ;
System.Security (2)
system\security\cryptography\xml\keyinfo.cs (2)
516
X509Certificate2 certificate = new
X509Certificate2
(rgbCert);
750
AddCertificate(new
X509Certificate2
(Convert.FromBase64String(Utils.DiscardWhiteSpaces(node.InnerText))));
System.ServiceModel (6)
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (1)
185
certificate = new
X509Certificate2
(msmqMessage.SenderCertificate.GetBufferCopy(msmqMessage.SenderCertificateLength.Value));
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
2159
token = new X509SecurityToken(new
X509Certificate2
(((X509RawDataKeyIdentifierClause)keyIdentifierClause).GetX509RawData()), false);
System\ServiceModel\Security\SctClaimSerializer.cs (1)
355
return new X509CertificateClaimSet(new
X509Certificate2
(rawData), false);
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (1)
197
resolvedToken = new X509SecurityToken(new
X509Certificate2
(((X509RawDataKeyIdentifierClause)keyIdentifierClause).GetX509RawData()));
System\ServiceModel\Security\SecurityUtils.cs (1)
2365
certificate = (rawData == null || rawData.Length == 0) ? null : new
X509Certificate2
(rawData);
System\ServiceModel\X509CertificateEndpointIdentity.cs (1)
59
X509Certificate2 certificate = new
X509Certificate2
(Convert.FromBase64String(reader.ReadElementString()));
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (1)
713
return new
X509Certificate2
(certificateInfo.Certificate);
WindowsBase (1)
Base\MS\Internal\IO\Packaging\Certificate.cs (1)
116
_certificate = new
X509Certificate2
(byteArray);