Class EncryptedFileKey


public class EncryptedFileKey extends FileKey<EncryptedFileKey.Version>
Encrypted file key model.

This model holds encrypted file key data.
  • Constructor Details

    • EncryptedFileKey

      public EncryptedFileKey(EncryptedFileKey.Version version, byte[] key, byte[] iv) throws IllegalArgumentException
      Constructs a new plain file key.
      Parameters:
      version - The file key version.
      key - The encrypted file key.
      iv - The encryption initialization vector.
      Throws:
      IllegalArgumentException - If a parameter is invalid (e.g. null or empty).