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

Commit 773ab6e9 authored by Gabriel Biren's avatar Gabriel Biren
Browse files

Add listAliases method to the INonStandardCertCallback

interface.

Bug: 205764502
Test: m
Change-Id: I2d5b6dd99dc8c56d94b04ec8efb2de8c81186b46
parent 76aadb37
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -35,4 +35,5 @@ package android.hardware.wifi.supplicant;
@VintfStability
interface INonStandardCertCallback {
  byte[] getBlob(in String alias);
  String[] listAliases(in String prefix);
}
+9 −0
Original line number Diff line number Diff line
@@ -34,4 +34,13 @@ interface INonStandardCertCallback {
     *         |SupplicantStatusCode.FAILURE_UNKNOWN|
     */
    byte[] getBlob(in String alias);

    /**
     * List the aliases currently stored in the database.
     *
     * @param prefix Prefix to filter the aliases by.
     * @return List of alias strings in the certificate store.
               The resulting strings will each exclude the prefix.
     */
    String[] listAliases(in String prefix);
}