Class Wallets
java.lang.Object
io.micronaut.oraclecloud.atp.wallet.Wallets
Services for reading Oracle
cwallet.sso
and ewallet.p12
wallets-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionarchives()
io.micronaut.oraclecloud.atp.wallet.Wallet.Builder
builder()
Create an auto login io.micronaut.oraclecloud.adb.walletWallet.Builder
io.micronaut.oraclecloud.atp.wallet.Wallet.Builder
modify
(io.micronaut.oraclecloud.atp.wallet.Wallet wallet) io.micronaut.oraclecloud.atp.wallet.Wallet.Builder
modify
(io.micronaut.oraclecloud.atp.wallet.Wallet wallet, char[] password) io.micronaut.oraclecloud.atp.wallet.Wallet
read
(InputStream content) Read the contents of acwallet.sso
io.micronaut.oraclecloud.adb.walletio.micronaut.oraclecloud.atp.wallet.Wallet
read
(InputStream content, char[] password) Read the contents of anewallet.p12
io.micronaut.oraclecloud.adb.walletio.micronaut.oraclecloud.atp.wallet.Wallet
Read the contents of the specified io.micronaut.oraclecloud.adb.wallet folder or io.micronaut.oraclecloud.adb.wallet file.io.micronaut.oraclecloud.atp.wallet.Wallet
Read the contents of the specified io.micronaut.oraclecloud.adb.wallet folder or io.micronaut.oraclecloud.adb.wallet file.
-
Method Details
-
builder
Create an auto login io.micronaut.oraclecloud.adb.walletWallet.Builder
- Returns:
Wallet.Builder
instance- Throws:
IOException
- if an error occurs creating the io.micronaut.oraclecloud.adb.wallet
-
modify
public io.micronaut.oraclecloud.atp.wallet.Wallet.Builder modify(io.micronaut.oraclecloud.atp.wallet.Wallet wallet) throws IOException - Throws:
IOException
-
modify
public io.micronaut.oraclecloud.atp.wallet.Wallet.Builder modify(io.micronaut.oraclecloud.atp.wallet.Wallet wallet, char[] password) throws IOException - Throws:
IOException
-
read
Read the contents of acwallet.sso
io.micronaut.oraclecloud.adb.wallet- Parameters:
content
- The bytes of the io.micronaut.oraclecloud.adb.wallet- Returns:
- Wallet instance
- Throws:
IOException
- if an error occurs reading or decrypting the io.micronaut.oraclecloud.adb.wallet
-
read
Read the contents of the specified io.micronaut.oraclecloud.adb.wallet folder or io.micronaut.oraclecloud.adb.wallet file.- Parameters:
wallet
- Path to the io.micronaut.oraclecloud.adb.wallet. If the specified location is a folder then thecwallet.sso
located within that folder is read. If the location is a file then that file is read as a auto login io.micronaut.oraclecloud.adb.wallet.- Returns:
- Wallet instance
- Throws:
IOException
- if an error occurs reading the specified location
-
read
public io.micronaut.oraclecloud.atp.wallet.Wallet read(Path wallet, char[] password) throws IOException Read the contents of the specified io.micronaut.oraclecloud.adb.wallet folder or io.micronaut.oraclecloud.adb.wallet file.- Parameters:
wallet
- Path to the io.micronaut.oraclecloud.adb.wallet. If the specified location is a folder then theewallet.p12
located within that folder is read. If the location is a file then that file is read as a password protected io.micronaut.oraclecloud.adb.wallet.- Returns:
- Wallet instance
- Throws:
IOException
- if an error occurs reading the specified location
-
archives
-
read
public io.micronaut.oraclecloud.atp.wallet.Wallet read(InputStream content, char[] password) throws IOException Read the contents of anewallet.p12
io.micronaut.oraclecloud.adb.wallet- Parameters:
content
- The bytes of the io.micronaut.oraclecloud.adb.walletpassword
- The password used to encrypt the contents of the io.micronaut.oraclecloud.adb.wallet- Returns:
- Wallet instance
- Throws:
IOException
- if an error occurs reading or decrypting the io.micronaut.oraclecloud.adb.wallet
-