|Constructor and Description|
|Modifier and Type||Method and Description|
Inform the user there are problems with the trust of a certificate, and request a decision from the user.
The UI should offer the user a way to look at the certificate in detail.
The following is a sample UI message to be shown to the user:
public void promptBadCertificateError(BadCertificateEvent e)
Unable to verify the identity of <website> as a trusted site.
Possible reasons for this error:
- Your browser does not recognize the Certificate Authority
that issued the site's certificate. - The site's certificate is incomplete due to a server misconfiguration.
- You are connected to a site pretending to be <website>, possibly to obtain your confidential information.
Please notify the site's webmaster about this problem.
Before accepting this certificate, you should examine this site's certificate carefully. Are you willing to to accept this certificate for the purpose of identifying the Web site <website>?
o Accept this certificate permanently
x Accept this certificate temporarily for this session
o Do not accept this certificate and do not connect to this Web site
BadCertificateEvent.setAction(short) to suppress the
default dialog and indicate whether the certificate should be accepted