/*
 * Copyright (C) 2022 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package android.hardware.wifi.supplicant;

import android.hardware.wifi.supplicant.DppAkm;
import android.hardware.wifi.supplicant.DppConnectionKeys;

/**
 * DPP configuration related information.
 */
@VintfStability
parcelable DppConfigurationData {
    /*
     * SSID of the network.
     */
    byte[] ssid;
    /*
     * WPA2 or SAE passphrase.
     */
    String password;
    /*
     * Pre-shared key encoded in hex.
     */
    byte[] psk;
    /*
     * AKM that can be provisioned using DPP.
     */
    DppAkm securityAkm;
    /*
     * Connection keys that are used for DPP network connection.
     */
    DppConnectionKeys dppConnectionKeys;
    /*
     * Optional flag to indicate that the configurator requested connection status
     * result.
     * This flag is set to true if the enrollee receives the configuration response
     * frame with sendConnStatus attribute.
     */
    boolean connStatusRequested;
}
