public class SecurityProblem
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INTERNET_ERROR_BASE |
| Constructor and Description |
|---|
SecurityProblem(int problem) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isAuthenticationRequired()
The server is requesting client authentication.
|
boolean |
isConfirmationRequired()
The redirection requires user confirmation.
|
boolean |
isInvalidCertificate()
Indicates that the function is unfamiliar with the Certificate
Authority that generated the server's certificate.
|
boolean |
isInvalidCertificateDate()
Indicates that SSL certificate date that was received from the
server is bad.
|
boolean |
isInvalidCertificateName()
Indicates that SSL certificate common name (host name field) is
incorrect.
|
boolean |
isMovingFromHttpsToHttp()
Indicates that the application is moving from an SSL to an non-SSL
connection because of a redirect.
|
boolean |
isMovingFromHttpToHttps()
Indicates that the application is moving from a non-SSL to an SSL
connection because of a redirect.
|
java.lang.String |
toString() |
public static final int INTERNET_ERROR_BASE
public boolean isInvalidCertificate()
true if a certificate is invalid.public boolean isInvalidCertificateName()
true if a certificate name is invalid.public boolean isInvalidCertificateDate()
true if a certificate date is expired.public boolean isMovingFromHttpToHttps()
true if application is moving from a non-SSL
to an SSL connection because of a redirect.public boolean isMovingFromHttpsToHttp()
true if application is moving from an SSL to
an non-SSL connection because of a redirect.public boolean isConfirmationRequired()
true if redirection requires user confirmation.public boolean isAuthenticationRequired()
true if server is requesting client authentication.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object