Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa1a2355 authored by Daichi Ueura's avatar Daichi Ueura Committed by Hai Shalom
Browse files

Add SHA256 key management definition



This patch adds SHA256 key management definition for
wifi service to manipulate them.

Test: Build with dependent CLs
Bug: 68787540
Signed-off-by: default avatarDaichi Ueura <daichi.ueura@sony.com>
Change-Id: I35326c6803de48814564a619d42e217a06aaf06f
(Cherry-picked from commit dc3f6ee703d9a0e7f6d735c6c0e22a6bc45c726c)
parent 6a6bb926
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -145,11 +145,23 @@ public class WifiConfiguration implements Parcelable {
         */
        public static final int SUITE_B_192 = 10;

        /**
         * WPA pre-shared key with stronger SHA256-based algorithms.
         * @hide
         */
        public static final int WPA_PSK_SHA256 = 11;

        /**
         * WPA using EAP authentication with stronger SHA256-based algorithms.
         * @hide
         */
        public static final int WPA_EAP_SHA256 = 12;

        public static final String varName = "key_mgmt";

        public static final String[] strings = { "NONE", "WPA_PSK", "WPA_EAP",
                "IEEE8021X", "WPA2_PSK", "OSEN", "FT_PSK", "FT_EAP",
                "SAE", "OWE", "SUITE_B_192"};
                "SAE", "OWE", "SUITE_B_192", "WPA_PSK_SHA256", "WPA_EAP_SHA256" };
    }

    /**