Class Wallets


  • public class Wallets
    extends java.lang.Object
    Services for reading Oracle cwallet.sso and ewallet.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.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​(java.io.InputStream content)
      Read the contents of a cwallet.sso io.micronaut.oraclecloud.adb.wallet
      io.micronaut.oraclecloud.atp.wallet.Wallet read​(java.io.InputStream content, char[] password)
      Read the contents of an ewallet.p12 io.micronaut.oraclecloud.adb.wallet
      io.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.
      • Methods inherited from class java.lang.Object

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

      • builder

        public io.micronaut.oraclecloud.atp.wallet.Wallet.Builder builder()
                                                                   throws java.io.IOException
        Create an auto login io.micronaut.oraclecloud.adb.wallet Wallet.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 a cwallet.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 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:
        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 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:
        java.io.IOException - if an error occurs reading the specified location
      • read

        public io.micronaut.oraclecloud.atp.wallet.Wallet read​(java.io.InputStream content,
                                                               char[] password)
                                                        throws java.io.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:
        java.io.IOException - if an error occurs reading or decrypting the io.micronaut.oraclecloud.adb.wallet