Class Wallets.Archives

java.lang.Object
io.micronaut.oraclecloud.atp.wallet.Wallets.Archives
Enclosing class:
Wallets

public class Wallets.Archives extends Object
  • Method Details

    • read

      public WalletArchive read(Path path) throws IOException
      Read the a Wallet Archive containing at least a cwallet.sso and optionally a tnsnames.ora
      Parameters:
      path - The path of the zip archive
      Returns:
      WalletArchive instance
      Throws:
      IOException - if an error occurs reading the archive
    • read

      public WalletArchive read(Path path, char[] password) throws IOException
      Read the a Wallet Archive containing at least a ewallet.p12 and optionally a tnsnames.ora
      Parameters:
      path - The path of the zip archive
      password - The password used to protect ewallet.p12
      Returns:
      WalletArchive instance
      Throws:
      IOException - if an error occurs reading the archive
    • read

      public WalletArchive read(InputStream content) throws IOException
      Read the a Wallet Archive containing at least a cwallet.sso and optionally a tnsnames.ora
      Parameters:
      content - The contents of the Wallet archive
      Returns:
      WalletArchive instance
      Throws:
      IOException - if an error occurs reading the archive
    • read

      public WalletArchive read(InputStream content, char[] password) throws IOException
      Read the a Wallet Archive containing at least a ewallet.p12 and optionally a tnsnames.ora
      Parameters:
      content - The content of the io.micronaut.oraclecloud.adb.wallet archive
      password - The password used to protect ewallet.p12
      Returns:
      WalletArchive instance
      Throws:
      IOException - if an error occurs reading the archive