code: public JsonObject putAndEncrypt(String name, List<?> value, String providerName) {
          addValueEncryptionInfo(name, providerName, true);
          return put(name, JsonArray.from(value));
      }
docs: Stores a {@link JsonArray} value as encrypted identified by the field name.
  
  Note: Use of the Field Level Encryption functionality provided in the
  com.couchbase.client.encryption namespace provided by Couchbase is
  subject to the Couchbase Inc. Enterprise Subscription License Agreement
  at https://www.couchbase.com/ESLA-11132015.
  
  @param name the name of the JSON field.
  @param value the value of the JSON field.
  @param providerName the crypto provider name for encryption.
  @return the {@link JsonObject}.