public class KeyStoreHelper extends Object
| Constructor and Description |
|---|
KeyStoreHelper(KeyStore ks,
String password) |
| Modifier and Type | Method and Description |
|---|---|
static KeyStoreHelper |
create(VertxInternal vertx,
KeyCertOptions options) |
static KeyStoreHelper |
create(VertxInternal vertx,
TrustOptions options) |
KeyManager[] |
getKeyMgr() |
X509KeyManager |
getKeyMgr(String serverName) |
KeyManagerFactory |
getKeyMgrFactory() |
TrustManager[] |
getTrustMgr(String serverName) |
TrustManagerFactory |
getTrustMgrFactory(VertxInternal vertx) |
TrustManager[] |
getTrustMgrs(VertxInternal vertx) |
static List<String> |
getX509CertificateCommonNames(String dn) |
KeyStore |
store() |
public static KeyStoreHelper create(VertxInternal vertx, KeyCertOptions options) throws Exception
Exceptionpublic static KeyStoreHelper create(VertxInternal vertx, TrustOptions options) throws Exception
Exceptionpublic KeyManagerFactory getKeyMgrFactory() throws Exception
Exceptionpublic X509KeyManager getKeyMgr(String serverName)
public KeyManager[] getKeyMgr() throws Exception
Exceptionpublic TrustManager[] getTrustMgr(String serverName)
public TrustManagerFactory getTrustMgrFactory(VertxInternal vertx) throws Exception
Exceptionpublic TrustManager[] getTrustMgrs(VertxInternal vertx) throws Exception
Exceptionpublic KeyStore store()
Copyright © 2020. All rights reserved.