public class KeyStoreConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
alias |
KeyStore |
keyStore |
String |
keystorePassword |
String |
privatekeyPassword |
| Constructor and Description |
|---|
KeyStoreConfig(KeyStore keyStore,
String alias,
String keystorePassword,
String privatekeyPassword) |
| Modifier and Type | Method and Description |
|---|---|
static KeyStoreConfig |
fromKeyStore(InputStream keyStore,
String alias,
String keyStorePassword,
String privatekeyPassword) |
X509Certificate |
getCertificate() |
Certificate[] |
getCertificateChain() |
PrivateKey |
getPrivateKey() |
public final KeyStore keyStore
public final String alias
public final String keystorePassword
public final String privatekeyPassword
public Certificate[] getCertificateChain()
public X509Certificate getCertificate()
public PrivateKey getPrivateKey()
public static KeyStoreConfig fromKeyStore(InputStream keyStore, String alias, String keyStorePassword, String privatekeyPassword)
Copyright © 2018 Digipost. All rights reserved.