@Override
  public boolean equals(Object o) {
    if (!(o instanceof LegacyKmsEnvelopeAeadParameters)) {
      return false;
    }
    LegacyKmsEnvelopeAeadParameters that = (LegacyKmsEnvelopeAeadParameters) o;
    return that.dekParsingStrategy.equals(dekParsingStrategy)
        && that.dekParametersForNewKeys.equals(dekParametersForNewKeys)
        && that.kekUri.equals(kekUri)
        && that.variant.equals(variant);
  }
Parameters used when creating new keys.
java_src/src/main/java/com/google/crypto/tink/aead/LegacyKmsEnvelopeAeadParameters.java