public final class SSLUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | isHttpsAvailable(Config config) | 
| static KeyManager[] | keyManagers(Config config) | 
| static KeyManager[] | keyManagers(InputStream certInputStream,
           InputStream keyInputStream,
           String algo,
           String passphrase) | 
| static KeyManager[] | keyManagers(String certData,
           String certFile,
           String keyData,
           String keyFile,
           String algo,
           String passphrase) | 
| static SSLContext | sslContext(Config config) | 
| static SSLContext | sslContext(KeyManager[] keyManagers,
          TrustManager[] trustManagers,
          boolean trustCerts) | 
| static TrustManager[] | trustManagers(Config config) | 
| static TrustManager[] | trustManagers(String certData,
             String certFile,
             boolean isTrustCerts) | 
public static boolean isHttpsAvailable(Config config)
public static SSLContext sslContext(Config config) throws CertificateException, UnrecoverableKeyException, NoSuchAlgorithmException, KeyStoreException, IOException, InvalidKeySpecException, KeyManagementException
public static SSLContext sslContext(KeyManager[] keyManagers, TrustManager[] trustManagers, boolean trustCerts) throws CertificateException, UnrecoverableKeyException, NoSuchAlgorithmException, KeyStoreException, IOException, InvalidKeySpecException, KeyManagementException
public static TrustManager[] trustManagers(Config config) throws CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException
public static TrustManager[] trustManagers(String certData, String certFile, boolean isTrustCerts) throws CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException
public static KeyManager[] keyManagers(Config config) throws NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException, CertificateException, InvalidKeySpecException, IOException
public static KeyManager[] keyManagers(String certData, String certFile, String keyData, String keyFile, String algo, String passphrase) throws NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException, CertificateException, InvalidKeySpecException, IOException
public static KeyManager[] keyManagers(InputStream certInputStream, InputStream keyInputStream, String algo, String passphrase) throws NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException, CertificateException, InvalidKeySpecException, IOException
Copyright © 2015–2016 Red Hat. All rights reserved.