public interface ICertificateUI
Modifier and Type | Method and Description |
---|---|
char[] |
getCertificatePassword(String certificate,
String msg)
Gets the password for a client certificate.
|
char[] |
getStorePassword(String store,
String msg)
Gets the password for a certificate store.
|
boolean |
isApplet()
Checks if the owner is an Applet.
|
boolean |
isServerCertificateAccepted(String server,
String certInfo,
X509Certificate certificate)
Asks the user if the server with the certificate is accepted.
|
void |
showCertificateMessage(String msg)
Show a message box for a client certificate.
|
void |
showStoreMessage(String msg)
Show a message box for a certificate store.
|
char[] getStorePassword(String store, String msg)
Note: it may be called from any thread.
store
- The certificate store "User Java key store" or "System Java key store".msg
- A message such as "Invalid password for client certificates in the [store] Java key store,
please reenter." or null for none.void showStoreMessage(String msg)
Note: it may be called from any thread.
msg
- A message, such as "You have specified 3 invalid passwords for the client certificates in the
[store] Java key store. These certificates will be ignored.".char[] getCertificatePassword(String certificate, String msg)
Note: it may be called from any thread.
certificate
- The certificate type "Client certificate for [server]".msg
- A message such as "Enter the password for the Client Certificate." or
"Incorrect Client Certificate password, please reenter.".void showCertificateMessage(String msg)
Note: it may be called from any thread.
msg
- A message, such as "The file '[file]' is not a valid client certificate (i.e. PKCS#12 identity).
The file is ignored." or "You have specified 3 invalid passwords for the client certificate
file '[file]'.\n\nThe file is ignored.".boolean isApplet()
boolean isServerCertificateAccepted(String server, String certInfo, X509Certificate certificate)
Note: it may be called from any thread.
server
- The server host name.certInfo
- The certificate information string including validity, error, etc.certificate
- The X.509 certificate.iizi® is a registered trademark of Mindus SARL. © Copyright 2019 Mindus SARL. All rights reserved.