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