| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private static final Pattern | |
| private static final String | |
| public static final String | |
| private static final Pattern | |
| private final Map | |
| private final Map | |
| private final String | |
| private final KeyStore | |
| private final Map | |
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static KeyStore | |
| private static KeyFactory | |
| public X509KeyManager | |
| public KeyManager[] | |
| public KeyManagerFactory | |
| public KeyManagerFactory | |
| public TrustManager[] | |
| public TrustManagerFactory | |
| public TrustManager[] | |
| public static List | |
| private char[] | |
| public static KeyStore | |
| private static X509Certificate[] | |
| public static KeyStore | |
| public static KeyStore | |
| private static <P> List | loadPems(Buffer data, BiFunction<String, byte[], Collection<P>> pemFact)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static PrivateKey | loadPrivateKey(Buffer keyValue)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public KeyStore | |
| public static KeyManagerFactory |
| aliasPassword | back to summary |
|---|---|
| private final String aliasPassword | |
| BEGIN_PATTERN | back to summary |
|---|---|
| private static final Pattern BEGIN_PATTERN | |
| DUMMY_CERT_ALIAS | back to summary |
|---|---|
| private static final String DUMMY_CERT_ALIAS | |
| DUMMY_PASSWORD | back to summary |
|---|---|
| public static final String DUMMY_PASSWORD | |
| END_PATTERN | back to summary |
|---|---|
| private static final Pattern END_PATTERN | |
| mgrFactoryMap | back to summary |
|---|---|
| private final Map<String, KeyManagerFactory> mgrFactoryMap | |
| mgrMap | back to summary |
|---|---|
| private final Map<String, X509KeyManager> mgrMap | |
| password | back to summary |
|---|---|
| private final String password | |
| store | back to summary |
|---|---|
| private final KeyStore store | |
| trustMgrMap | back to summary |
|---|---|
| private final Map<String, TrustManagerFactory> trustMgrMap | |
| wildcardMgrFactoryMap | back to summary |
|---|---|
| private final Map<String, KeyManagerFactory> wildcardMgrFactoryMap | |
| wildcardMgrMap | back to summary |
|---|---|
| private final Map<String, X509KeyManager> wildcardMgrMap | |
| KeyStoreHelper | back to summary |
|---|---|
| public KeyStoreHelper(KeyStore ks, String password, String aliasPassword) throws Exception | |
| createEmptyKeyStore | back to summary |
|---|---|
| private static KeyStore createEmptyKeyStore() throws KeyStoreException Creates an empty keystore. The keystore uses the default keystore type set in the file 'lib/security/security.java' (located in the JRE) by the 'keystore.type' property. However, if the default is set to the 'JKS' format, the this function will instead attempt to use the newer 'PKCS12' format, if it exists. The PKCS12 format is the default format for keystores for Java >=9 and available on GraalVM. PKCS12 is an extensible, standard, and widely-supported format for storing cryptographic keys. As of JDK 8, PKCS12 keystores can store private keys, trusted public key certificates, and secret keys. The "old" default "JKS" (available since Java 1.2) can only store private keys and trusted public-key certificates, and they are based on a proprietary format that is not easily extensible to new cryptographic algorithms.
| |
| getECKeyFactory | back to summary |
|---|---|
| private static KeyFactory getECKeyFactory() | |
| getKeyMgr | back to summary |
|---|---|
| public X509KeyManager getKeyMgr(String serverName) | |
| getKeyMgr | back to summary |
|---|---|
| public KeyManager[] getKeyMgr() throws Exception | |
| getKeyMgrFactory | back to summary |
|---|---|
| public KeyManagerFactory getKeyMgrFactory() throws Exception | |
| getKeyMgrFactory | back to summary |
|---|---|
| public KeyManagerFactory getKeyMgrFactory(String serverName) | |
| getTrustMgr | back to summary |
|---|---|
| public TrustManager[] getTrustMgr(String serverName) | |
| getTrustMgrFactory | back to summary |
|---|---|
| public TrustManagerFactory getTrustMgrFactory(VertxInternal vertx) throws Exception | |
| getTrustMgrs | back to summary |
|---|---|
| public TrustManager[] getTrustMgrs(VertxInternal vertx) throws Exception | |
| getX509CertificateCommonNames | back to summary |
|---|---|
| public static List | |
| keyPassword | back to summary |
|---|---|
| private char[] keyPassword(String aliasPassword, String password) | |
| loadCA | back to summary |
|---|---|
| public static KeyStore loadCA(Stream<Buffer> certValues) throws Exception | |
| loadCerts | back to summary |
|---|---|
| private static X509Certificate[] loadCerts(Buffer buffer) throws Exception
References Deprecated
See corresponding docs for further information. | |
| loadKeyCert | back to summary |
|---|---|
| public static KeyStore loadKeyCert(List<Buffer> keyValue, List<Buffer> certValue) throws Exception | |
| loadKeyStore | back to summary |
|---|---|
| public static KeyStore loadKeyStore(String type, String provider, String password, Supplier<Buffer> value, String alias) throws Exception | |
| loadPems | back to summary |
|---|---|
| private static <P> List References Deprecated
See corresponding docs for further information. | |
| loadPrivateKey | back to summary |
|---|---|
| private static PrivateKey loadPrivateKey(Buffer keyValue) throws Exception
References Deprecated
See corresponding docs for further information. | |
| store | back to summary |
|---|---|
public KeyStore store()
| |
| toKeyManagerFactory | back to summary |
|---|---|
| public static KeyManagerFactory toKeyManagerFactory(X509KeyManager mgr) throws Exception | |