public class SslUtil extends Object
| Constructor and Description |
|---|
SslUtil() |
| Modifier and Type | Method and Description |
|---|---|
static SSLSocketFactory |
getSSLSocketFactoryVerifyCACert()
check if the server's cert is issued by a CA
|
static SSLSocketFactory |
getSSLSocketFactoryWithCA(CASignedSSLParam param) |
static SSLSocketFactory |
getSSLSocketFactoryWithoutCA(SelfSignedSSLParam param) |
static SSLSocketFactory |
getSSLSocketFactoryWithoutVerify() |
static TrustManager[] |
getTrustManagers() |
public static SSLSocketFactory getSSLSocketFactoryWithCA(CASignedSSLParam param)
public static SSLSocketFactory getSSLSocketFactoryWithoutCA(SelfSignedSSLParam param)
public static TrustManager[] getTrustManagers()
public static SSLSocketFactory getSSLSocketFactoryWithoutVerify()
public static SSLSocketFactory getSSLSocketFactoryVerifyCACert()
Copyright © 2024. All rights reserved.