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

Commit 73f1d7b5 authored by Eric Biggers's avatar Eric Biggers Committed by Android (Google) Code Review
Browse files

Merge "SyntheticPasswordManager: remove unused methods"

parents 1c9d7394 fe1bdb03
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
@@ -929,26 +929,6 @@ public class SyntheticPasswordManager {

    private ArrayMap<Integer, ArrayMap<Long, TokenData>> tokenMap = new ArrayMap<>();

    /**
     * Create a token based Synthetic password for the given user.
     * @return the handle of the token
     */
    public long createStrongTokenBasedSyntheticPassword(byte[] token, int userId,
            @Nullable EscrowTokenStateChangeCallback changeCallback) {
        return createTokenBasedSyntheticPassword(token, TOKEN_TYPE_STRONG, userId,
                changeCallback);
    }

    /**
     * Create a weak token based Synthetic password for the given user.
     * @return the handle of the weak token
     */
    public long createWeakTokenBasedSyntheticPassword(byte[] token, int userId,
            @Nullable EscrowTokenStateChangeCallback changeCallback) {
        return createTokenBasedSyntheticPassword(token, TOKEN_TYPE_WEAK, userId,
                changeCallback);
    }

    /**
     * Create a token based Synthetic password of the given type for the given user.
     * @return the handle of the token