Class Wallets.Archives
- java.lang.Object
-
- io.micronaut.oraclecloud.atp.wallet.Wallets.Archives
-
- Enclosing class:
- Wallets
public class Wallets.Archives extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WalletArchiveread(java.io.InputStream content)Read the a Wallet Archive containing at least acwallet.ssoand optionally atnsnames.oraWalletArchiveread(java.io.InputStream content, char[] password)Read the a Wallet Archive containing at least aewallet.p12and optionally atnsnames.oraWalletArchiveread(java.nio.file.Path path)Read the a Wallet Archive containing at least acwallet.ssoand optionally atnsnames.oraWalletArchiveread(java.nio.file.Path path, char[] password)Read the a Wallet Archive containing at least aewallet.p12and optionally atnsnames.ora
-
-
-
Method Detail
-
read
public WalletArchive read(java.nio.file.Path path) throws java.io.IOException
Read the a Wallet Archive containing at least acwallet.ssoand optionally atnsnames.ora- Parameters:
path- The path of the zip archive- Returns:
- WalletArchive instance
- Throws:
java.io.IOException- if an error occurs reading the archive
-
read
public WalletArchive read(java.nio.file.Path path, char[] password) throws java.io.IOException
Read the a Wallet Archive containing at least aewallet.p12and optionally atnsnames.ora- Parameters:
path- The path of the zip archivepassword- The password used to protectewallet.p12- Returns:
- WalletArchive instance
- Throws:
java.io.IOException- if an error occurs reading the archive
-
read
public WalletArchive read(java.io.InputStream content) throws java.io.IOException
Read the a Wallet Archive containing at least acwallet.ssoand optionally atnsnames.ora- Parameters:
content- The contents of the Wallet archive- Returns:
- WalletArchive instance
- Throws:
java.io.IOException- if an error occurs reading the archive
-
read
public WalletArchive read(java.io.InputStream content, char[] password) throws java.io.IOException
Read the a Wallet Archive containing at least aewallet.p12and optionally atnsnames.ora- Parameters:
content- The content of the io.micronaut.oraclecloud.adb.wallet archivepassword- The password used to protectewallet.p12- Returns:
- WalletArchive instance
- Throws:
java.io.IOException- if an error occurs reading the archive
-
-