1 write to certificate
System.IdentityModel (1)
System\IdentityModel\Tokens\X509SecurityToken.cs (1)
54this.certificate = clone ? new X509Certificate2(certificate) : certificate;
14 references to certificate
System.IdentityModel (14)
System\IdentityModel\Tokens\X509SecurityToken.cs (14)
72temp.Add(new X509AsymmetricSecurityKey(this.certificate)); 85this.effectiveTime = this.certificate.NotBefore.ToUniversalTime(); 96this.expirationTime = this.certificate.NotAfter.ToUniversalTime(); 106return this.certificate; 114return X509SubjectKeyIdentifierClause.CanCreateFrom(certificate); 128if (X509SubjectKeyIdentifierClause.TryCreateFrom(certificate, out x509KeyIdentifierClause)) 133return new X509ThumbprintKeyIdentifierClause(certificate) as T; 137return new X509IssuerSerialKeyIdentifierClause(certificate) as T; 141return new X509RawDataKeyIdentifierClause(certificate) as T; 152return subjectKeyIdentifierClause.Matches(certificate); 156return thumbprintKeyIdentifierClause.Matches(certificate); 160return issuerKeyIdentifierClause.Matches(certificate); 164return rawCertKeyIdentifierClause.Matches(certificate); 174this.certificate.Reset();