public class KeyStoreAdminServiceImpl extends org.wso2.carbon.core.AbstractAdmin implements KeyStoreAdminInterface
| Constructor and Description |
|---|
KeyStoreAdminServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyStore(String fileData,
String filename,
String password,
String provider,
String type,
String pvtkeyPass) |
void |
addTrustStore(String fileData,
String filename,
String password,
String provider,
String type) |
void |
deleteStore(String keyStoreName) |
KeyStoreData |
getKeystoreInfo(String keyStoreName) |
KeyStoreData[] |
getKeyStores() |
PaginatedKeyStoreData |
getPaginatedKeystoreInfo(String keyStoreName,
int pageNumber) |
String[] |
getStoreEntries(String keyStoreName) |
void |
importCertToStore(String fileName,
String fileData,
String keyStoreName) |
void |
removeCertFromStore(String alias,
String keyStoreName) |
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamppublic KeyStoreData[] getKeyStores() throws SecurityConfigException
getKeyStores in interface KeyStoreAdminInterfaceSecurityConfigExceptionpublic void addKeyStore(String fileData, String filename, String password, String provider, String type, String pvtkeyPass) throws SecurityConfigException
addKeyStore in interface KeyStoreAdminInterfaceSecurityConfigExceptionpublic void addTrustStore(String fileData, String filename, String password, String provider, String type) throws SecurityConfigException
addTrustStore in interface KeyStoreAdminInterfaceSecurityConfigExceptionpublic void deleteStore(String keyStoreName) throws SecurityConfigException
deleteStore in interface KeyStoreAdminInterfaceSecurityConfigExceptionpublic void importCertToStore(String fileName, String fileData, String keyStoreName) throws SecurityConfigException
importCertToStore in interface KeyStoreAdminInterfaceSecurityConfigExceptionpublic String[] getStoreEntries(String keyStoreName) throws SecurityConfigException
getStoreEntries in interface KeyStoreAdminInterfaceSecurityConfigExceptionpublic KeyStoreData getKeystoreInfo(String keyStoreName) throws SecurityConfigException
getKeystoreInfo in interface KeyStoreAdminInterfaceSecurityConfigExceptionpublic void removeCertFromStore(String alias, String keyStoreName) throws SecurityConfigException
removeCertFromStore in interface KeyStoreAdminInterfaceSecurityConfigExceptionpublic PaginatedKeyStoreData getPaginatedKeystoreInfo(String keyStoreName, int pageNumber) throws SecurityConfigException
SecurityConfigExceptionCopyright © 2020 WSO2. All rights reserved.