Class Wallets
java.lang.Object
io.micronaut.oraclecloud.atp.wallet.Wallets
Services for reading Oracle
cwallet.sso and ewallet.p12 wallets-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionarchives()io.micronaut.oraclecloud.atp.wallet.Wallet.Builderbuilder()Create an auto login io.micronaut.oraclecloud.adb.walletWallet.Builderio.micronaut.oraclecloud.atp.wallet.Wallet.Buildermodify(io.micronaut.oraclecloud.atp.wallet.Wallet wallet) io.micronaut.oraclecloud.atp.wallet.Wallet.Buildermodify(io.micronaut.oraclecloud.atp.wallet.Wallet wallet, char[] password) io.micronaut.oraclecloud.atp.wallet.Walletread(InputStream content) Read the contents of acwallet.ssoio.micronaut.oraclecloud.adb.walletio.micronaut.oraclecloud.atp.wallet.Walletread(InputStream content, char[] password) Read the contents of anewallet.p12io.micronaut.oraclecloud.adb.walletio.micronaut.oraclecloud.atp.wallet.WalletRead the contents of the specified io.micronaut.oraclecloud.adb.wallet folder or io.micronaut.oraclecloud.adb.wallet file.io.micronaut.oraclecloud.atp.wallet.WalletRead 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.Builderinstance- 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.ssoio.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.ssolocated 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.p12located 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.p12io.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
-