org.apache.kylin.jdbc.util

## 类 DefaultX509TrustManager

- java.lang.Object
- - org.apache.kylin.jdbc.util.DefaultX509TrustManager

所有已实现的接口:
  TrustManager, X509TrustManager

    public class DefaultX509TrustManager
    extends Object
    implements X509TrustManager

作者:
  xduo

### 构造器概要

构造器
构造器和说明
`DefaultX509TrustManager(KeyStore keystore)` Constructor for DefaultX509TrustManager.

### 方法概要

方法
`void` `checkClientTrusted(X509Certificate[] chain, String authType)`
`void` `checkServerTrusted(X509Certificate[] chain, String authType)`
`X509Certificate[]` `getAcceptedIssuers()`
`boolean` `isClientTrusted(X509Certificate[] certificates)`
`boolean` `isServerTrusted(X509Certificate[] certificates)`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 构造器详细资料

#### DefaultX509TrustManager

    public DefaultX509TrustManager(KeyStore keystore)
                            throws NoSuchAlgorithmException,
                                   KeyStoreException

Constructor for DefaultX509TrustManager.

抛出:
  `NoSuchAlgorithmException`
  `KeyStoreException`

### 方法详细资料

#### getAcceptedIssuers

    public X509Certificate[] getAcceptedIssuers()

指定者:
  `getAcceptedIssuers` 在接口中 `X509TrustManager`

#### isClientTrusted

    public boolean isClientTrusted(X509Certificate[] certificates)

#### isServerTrusted

    public boolean isServerTrusted(X509Certificate[] certificates)

#### checkClientTrusted

    public void checkClientTrusted(X509Certificate[] chain,
                          String authType)
                            throws CertificateException

指定者:
  `checkClientTrusted` 在接口中 `X509TrustManager`
抛出:
  `CertificateException`

#### checkServerTrusted

    public void checkServerTrusted(X509Certificate[] chain,
                          String authType)
                            throws CertificateException

指定者:
  `checkServerTrusted` 在接口中 `X509TrustManager`
抛出:
  `CertificateException`