package com.airlock.iam.security.util.crypto;

import com.google.common.base.Preconditions;

class KeyDerivationFunctionResult {
   private final KeyAndIV cipherParams;
   private final String prefix;

   KeyDerivationFunctionResult(KeyAndIV cipherParams, String prefix) {
      this.cipherParams = (KeyAndIV)Preconditions.checkNotNull(cipherParams);
      this.prefix = (String)Preconditions.checkNotNull(prefix);
   }

   public KeyAndIV getCipherParams() {
      return this.cipherParams;
   }

   public String getPrefix() {
      return this.prefix;
   }
}
