Class EncryptionUtil.EncryptResult

java.lang.Object
vaultWeb.security.EncryptionUtil.EncryptResult
Enclosing class:
EncryptionUtil

public static class EncryptionUtil.EncryptResult extends Object
Result object for the encryption operation.

Contains the Base64-encoded ciphertext and the Base64-encoded initialization vector (IV) needed for decryption.

  • Field Details

    • cipherTextBase64

      public final String cipherTextBase64
      Base64-encoded ciphertext
    • ivBase64

      public final String ivBase64
      Base64-encoded initialization vector (IV)
  • Constructor Details

    • EncryptResult

      public EncryptResult(String cipherTextBase64, String ivBase64)
      Constructs a new EncryptResult with the given ciphertext and IV.
      Parameters:
      cipherTextBase64 - Base64-encoded ciphertext
      ivBase64 - Base64-encoded IV