Constructor and Description |
---|
EncryptedWallet(String dirName, char[] walletPassword)
Creates an encrypted wallet.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkWalletExists(String location)
Determine if a wallet exists at the supplied location.
|
void |
createWallet()
Create a new wallet.
|
void |
deleteWallet()
Delete the wallet file.
|
void |
openWallet()
Opens the Oracle Wallet.
|
closeWallet, createNewWallet, exists, getCredential, getLocation, getORAWalletSecretStore, getSecretStore, getWallet, loadCredentials, loadWallet, removeCredential, setCredential, setLocation, updateWallet, walletExists
public EncryptedWallet(String dirName, char[] walletPassword) throws FMWCredentialsException
dirName
- the location of the walletwalletPassword
- the wallet passwordFMWCredentialsException
- if an error occurspublic boolean checkWalletExists(String location)
FMWWallet
checkWalletExists
in class FMWWallet
location
- wallet locationpublic void createWallet() throws IOException
FMWWallet
createWallet
in class FMWWallet
IOException
- if an error occurspublic void deleteWallet() throws FMWCredentialsException
Wallet
FMWCredentialsException
- an error occurred when deleting the wallet.public void openWallet() throws IOException
FMWWallet
openWallet
in class FMWWallet
IOException
- if an error occurs