public class KeyStoreGenerator extends Object
Constructor and Description |
---|
KeyStoreGenerator(int tenantId) |
Modifier and Type | Method and Description |
---|---|
void |
generateKeyStore()
This method first generates the keystore, then persist it in the gov.registry of that tenant
|
void |
generateTrustStore(String trustStoreName)
This method first generates the keystore, then persist it in the gov.registry of that tenant
|
boolean |
isKeyStoreExists(int tenantId)
This method checks the existance of a keystore
|
public KeyStoreGenerator(int tenantId) throws KeyStoreMgtException
KeyStoreMgtException
public void generateKeyStore() throws KeyStoreMgtException
KeyStoreMgtException
- Error when generating or storing the keystorepublic void generateTrustStore(String trustStoreName) throws KeyStoreMgtException
KeyStoreMgtException
- Error when generating or storing the keystorepublic boolean isKeyStoreExists(int tenantId) throws KeyStoreMgtException
tenantId
- KeyStoreMgtException
Copyright © 2020 WSO2. All rights reserved.