24 references to CertificateProblem
System (24)
net\System\Net\_SecureChannel.cs (2)
1287
if ((
CertificateProblem
) status ==
CertificateProblem
.CertCN_NO_MATCH)
net\System\Net\Internal.cs (22)
2031
switch ((
CertificateProblem
) errorCode) {
2033
case
CertificateProblem
.CertINVALIDNAME :
2034
case
CertificateProblem
.CertCN_NO_MATCH :
2037
case
CertificateProblem
.CertINVALIDPOLICY :
2038
case
CertificateProblem
.CertPURPOSE :
2041
case
CertificateProblem
.CertEXPIRED :
2044
case
CertificateProblem
.CertVALIDITYPERIODNESTING :
2047
case
CertificateProblem
.CertCHAINING :
2048
case
CertificateProblem
.CertUNTRUSTEDCA :
2049
case
CertificateProblem
.CertUNTRUSTEDROOT :
2052
case
CertificateProblem
.CertREVOKED :
2053
case
CertificateProblem
.CertREVOCATION_FAILURE :
2054
case
CertificateProblem
.CryptNOREVOCATIONCHECK:
2055
case
CertificateProblem
.CryptREVOCATIONOFFLINE:
2058
case
CertificateProblem
.CertROLE:
2059
case
CertificateProblem
.TrustBASICCONSTRAINTS:
2062
case
CertificateProblem
.CertWRONG_USAGE :
2106
if ((
CertificateProblem
)status ==
CertificateProblem
.CertCN_NO_MATCH && ServicePointManager.CheckCertificateName) {
2123
return Accept(certificate, (int)
CertificateProblem
.CertCRITICAL); // ToDO, Define an appropriate enum entry
2140
return Accept(certificate, (int)
CertificateProblem
.OK);
2187
return problem == (int)
CertificateProblem
.OK;