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

Commit 7e9642ed authored by Alex Johnston's avatar Alex Johnston Committed by Android (Google) Code Review
Browse files

Merge "Added functionality to select type of certificate to be installed from the Settings app"

parents c1de45a9 fde28690
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2431,4 +2431,9 @@ enum PageId {
    // and under gesture navigation mode.
    DIALOG_TOGGLE_SCREEN_MAGNIFICATION_GESTURE_NAVIGATION = 1802;

    // OPEN: Settings > Security & screen lock -> Encryption & credentials > Install a certificate
    // CATEGORY: SETTINGS
    // OS: R
    INSTALL_CERTIFICATE_FROM_STORAGE = 1803;

}
+14 −0
Original line number Diff line number Diff line
@@ -71,6 +71,15 @@ public class Credentials {
    /** Key containing suffix of lockdown VPN profile. */
    public static final String LOCKDOWN_VPN = "LOCKDOWN_VPN";

    /** Name of CA certificate usage. */
    public static final String CERTIFICATE_USAGE_CA = "ca";

    /** Name of User certificate usage. */
    public static final String CERTIFICATE_USAGE_USER = "user";

    /** Name of WIFI certificate usage. */
    public static final String CERTIFICATE_USAGE_WIFI = "wifi";

    /** Data type for public keys. */
    public static final String EXTRA_PUBLIC_KEY = "KEY";

@@ -90,6 +99,11 @@ public class Credentials {
     */
    public static final String EXTRA_INSTALL_AS_UID = "install_as_uid";

    /**
     * Intent extra: type of the certificate to install
     */
    public static final String EXTRA_CERTIFICATE_USAGE = "certificate_install_usage";

    /**
     * Intent extra: name for the user's key pair.
     */