Class Wallets
- java.lang.Object
-
- io.micronaut.oraclecloud.atp.wallet.Wallets
-
public class Wallets extends java.lang.Object
Services for reading Oraclecwallet.sso
andewallet.p12
wallets
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Wallets.Archives
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Wallets.Archives
archives()
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(java.io.InputStream content)
Read the contents of acwallet.sso
io.micronaut.oraclecloud.adb.walletio.micronaut.oraclecloud.atp.wallet.Wallet
read(java.io.InputStream content, char[] password)
Read the contents of anewallet.p12
io.micronaut.oraclecloud.adb.walletio.micronaut.oraclecloud.atp.wallet.Wallet
read(java.nio.file.Path 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(java.nio.file.Path wallet, char[] password)
Read the contents of the specified io.micronaut.oraclecloud.adb.wallet folder or io.micronaut.oraclecloud.adb.wallet file.
-
-
-
Method Detail
-
builder
public io.micronaut.oraclecloud.atp.wallet.Wallet.Builder builder() throws java.io.IOException
Create an auto login io.micronaut.oraclecloud.adb.walletWallet.Builder
- Returns:
Wallet.Builder
instance- Throws:
java.io.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 java.io.IOException
- Throws:
java.io.IOException
-
modify
public io.micronaut.oraclecloud.atp.wallet.Wallet.Builder modify(io.micronaut.oraclecloud.atp.wallet.Wallet wallet, char[] password) throws java.io.IOException
- Throws:
java.io.IOException
-
read
public io.micronaut.oraclecloud.atp.wallet.Wallet read(java.io.InputStream content) throws java.io.IOException
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:
java.io.IOException
- if an error occurs reading or decrypting the io.micronaut.oraclecloud.adb.wallet
-
read
public io.micronaut.oraclecloud.atp.wallet.Wallet read(java.nio.file.Path wallet) throws java.io.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 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:
java.io.IOException
- if an error occurs reading the specified location
-
read
public io.micronaut.oraclecloud.atp.wallet.Wallet read(java.nio.file.Path wallet, char[] password) throws java.io.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:
java.io.IOException
- if an error occurs reading the specified location
-
archives
public Wallets.Archives archives()
-
read
public io.micronaut.oraclecloud.atp.wallet.Wallet read(java.io.InputStream content, char[] password) throws java.io.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:
java.io.IOException
- if an error occurs reading or decrypting the io.micronaut.oraclecloud.adb.wallet
-
-