| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| private static TrustManager[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | checkClientTrusted(X509Certificate[]
The client's certificate chain chain, String authorization type (e.g. "RSA" or "DHE_DSS") authType)Implements javax. |
| public void | checkServerTrusted(X509Certificate[]
The server's certificate chain chain, String authorization type (e.g. "RSA" or "DHE_DSS") authType)Implements javax. |
| public X509Certificate[] | getAcceptedIssuers()
Implements javax. |
| public static SocketFactory | Returns: a socket factoryConfiguration settings for the socket factory sslProperties)Generate a socket factory with this trust manager. |
| SSL_KEYSTORE | back to summary |
|---|---|
| public static final String SSL_KEYSTORE | |
| SSL_KEYSTORE_PASSWORD | back to summary |
|---|---|
| public static final String SSL_KEYSTORE_PASSWORD | |
| thisManager | back to summary |
|---|---|
| private static TrustManager[] thisManager | |
| NaiveTrustManager | back to summary |
|---|---|
| private NaiveTrustManager() We don't want more than one instence of this TrustManager | |
| checkClientTrusted | back to summary |
|---|---|
| public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException Implements javax. Checks wether the we trust the client. Since this trust manager is just for the Derby clients, this routine is actually never called, but need to be here when we implement X509TrustManager.
| |
| checkServerTrusted | back to summary |
|---|---|
| public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException Implements javax. Checks wether the we trust the server, which we allways will.
| |
| getAcceptedIssuers | back to summary |
|---|---|
| public X509Certificate[] getAcceptedIssuers() Implements javax. Return an array of certificate authority certificates which are trusted for authenticating peers. Not relevant for this trust manager.
| |
| getSocketFactory | back to summary |
|---|---|
| public static SocketFactory getSocketFactory(Properties sslProperties) throws NoSuchAlgorithmException, KeyManagementException, NoSuchProviderException, KeyStoreException, UnrecoverableKeyException, CertificateException, IOException Generate a socket factory with this trust manager. Derby Utility routine which is not part of the X509TrustManager interface.
| |