Class 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
      WalletArchive read​(java.io.InputStream content)
      Read the a Wallet Archive containing at least a cwallet.sso and optionally a tnsnames.ora
      WalletArchive read​(java.io.InputStream content, char[] password)
      Read the a Wallet Archive containing at least a ewallet.p12 and optionally a tnsnames.ora
      WalletArchive read​(java.nio.file.Path path)
      Read the a Wallet Archive containing at least a cwallet.sso and optionally a tnsnames.ora
      WalletArchive read​(java.nio.file.Path path, char[] password)
      Read the a Wallet Archive containing at least a ewallet.p12 and optionally a tnsnames.ora
      • Methods inherited from class java.lang.Object

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

      • read

        public WalletArchive read​(java.nio.file.Path path)
                           throws java.io.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:
        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 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:
        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 a cwallet.sso and optionally a tnsnames.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 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:
        java.io.IOException - if an error occurs reading the archive