public interface KeystoreEditorMBean
Modifier and Type | Method and Description |
---|---|
void |
addPrivateKey(String alias,
String keyPassword,
String storePassword,
String data,
String type,
String fileName) |
void |
addTrustedCertificate(String alias,
String keyPassword,
String storePassword,
String data,
String type,
String fileName) |
List<Map<String,Object>> |
addTrustedCertificateFromUrl(String url) |
List<Map<String,Object>> |
certificateDetails(String url) |
void |
deletePrivateKey(String alias) |
void |
deleteTrustedCertificate(String alias) |
List<Map<String,Object>> |
getKeystore() |
List<Map<String,Object>> |
getTruststore() |
List<String> |
replaceSystemStores(String fqdn,
String keyPassword,
String keystorePassword,
String keystoreData,
String keystoreFileName,
String truststorePassword,
String truststoreData,
String truststoreFileName)
Replaces the system stores (keystore and truststore) with the passed in stores.
|
void addPrivateKey(String alias, String keyPassword, String storePassword, String data, String type, String fileName) throws KeystoreEditor.KeystoreEditorException
void addTrustedCertificate(String alias, String keyPassword, String storePassword, String data, String type, String fileName) throws KeystoreEditor.KeystoreEditorException
List<String> replaceSystemStores(String fqdn, String keyPassword, String keystorePassword, String keystoreData, String keystoreFileName, String truststorePassword, String truststoreData, String truststoreFileName) throws KeystoreEditor.KeystoreEditorException
fqdn
- fully qualified domain name used to validate the keystore. The keystore must
contain a key with an alias matching the fqdnkeyPassword
- password for private keykeystorePassword
- password for the keystoreDatakeystoreData
- keystore file data (base 64 encoded)keystoreFileName
- keystore filenametruststorePassword
- password for the truststoreDatatruststoreData
- truststore file data (base 64 encoded)truststoreFileName
- truststore filenameKeystoreEditor.KeystoreEditorException
void deletePrivateKey(String alias)
void deleteTrustedCertificate(String alias)
This work is licensed under a Creative Commons Attribution 4.0 International License.