Class Pem.Encryption

java.lang.Object
oracle.nosql.driver.iam.pki.Pem.Encryption
All Implemented Interfaces:
AutoCloseable
Enclosing class:
Pem

public static class Pem.Encryption extends Object
Configures how private keys are encrypted
  • Method Details

    • none

      public static Pem.Encryption none()
      Constant representing the absence of encryption
      Returns:
      Encryption instance
    • builder

      public static Pem.Encryption.Builder builder()
      Build Pem.Encryption instances
      Returns:
      Builder instance
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • algorithm

      public String algorithm()
      The encryption algorithm
      Returns:
      Encryption algorithm name
    • keySize

      public int keySize()
      The key size
      Returns:
      Key size in bits
    • iv

      public byte[] iv()
      The initialization vector
      Returns:
      Initialization vector
    • blockMode

      public String blockMode()
      The block mode
      Returns:
      The block mode name
    • passphrase

      public Pem.Passphrase passphrase()
      The encryption passphrase
      Returns:
      The passphrase