public class KeyStoreUtil extends Object
| Constructor and Description |
|---|
KeyStoreUtil() |
| Modifier and Type | Method and Description |
|---|---|
static KeyStore |
createDockerKeyStore(String certPath)
Create a key stored holding certificates and secret keys from the given Docker key cert
|
public static KeyStore createDockerKeyStore(String certPath) throws IOException, GeneralSecurityException
certPath - directory holding the keys (key.pem) and certs (ca.pem, cert.pem)IOException - is reading of the the PEMs failedGeneralSecurityException - when the files in a wrong formatCopyright © 2019. All rights reserved.