Class Wallets

java.lang.Object
io.micronaut.oraclecloud.atp.wallet.Wallets

public class Wallets extends Object
Services for reading Oracle cwallet.sso and ewallet.p12 wallets
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    io.micronaut.oraclecloud.atp.wallet.Wallet.Builder
    Create an auto login io.micronaut.oraclecloud.adb.wallet Wallet.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 a cwallet.sso io.micronaut.oraclecloud.adb.wallet
    io.micronaut.oraclecloud.atp.wallet.Wallet
    read(InputStream content, char[] password)
    Read the contents of an ewallet.p12 io.micronaut.oraclecloud.adb.wallet
    io.micronaut.oraclecloud.atp.wallet.Wallet
    read(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(Path wallet, char[] password)
    Read the contents of the specified io.micronaut.oraclecloud.adb.wallet folder or io.micronaut.oraclecloud.adb.wallet file.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • builder

      public io.micronaut.oraclecloud.atp.wallet.Wallet.Builder builder() throws IOException
      Create an auto login io.micronaut.oraclecloud.adb.wallet Wallet.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

      public io.micronaut.oraclecloud.atp.wallet.Wallet read(InputStream content) throws IOException
      Read the contents of a cwallet.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

      public io.micronaut.oraclecloud.atp.wallet.Wallet read(Path wallet) 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 the cwallet.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 the ewallet.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

      public Wallets.Archives archives()
    • read

      public io.micronaut.oraclecloud.atp.wallet.Wallet read(InputStream content, char[] password) throws IOException
      Read the contents of an ewallet.p12 io.micronaut.oraclecloud.adb.wallet
      Parameters:
      content - The bytes of the io.micronaut.oraclecloud.adb.wallet
      password - 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