@@ -31,22 +31,6 @@ static Stream<KeychainAccessProvider> get() {
3131 @ Nls (capitalization = Nls .Capitalization .Title )
3232 String displayName ();
3333
34- /**
35- * Associates a passphrase with a given key.
36- * <p>
37- * Note: Caller is responsible for zeroing the passphrase array after use.
38- *
39- * @param key Key used to retrieve the passphrase via {@link #loadPassphrase(String)}.
40- * @param passphrase The secret to store in this keychain.
41- * @throws KeychainAccessException If storing the password failed
42- * @deprecated Please use {@link #storePassphrase(String, String, CharSequence)} instead
43- */
44- @ Deprecated
45- @ ApiStatus .ScheduledForRemoval (inVersion = "1.2.0" )
46- default void storePassphrase (String key , CharSequence passphrase ) throws KeychainAccessException {
47- storePassphrase (key , null , passphrase );
48- }
49-
5034 /**
5135 * Associates a passphrase with a given key and a name for that key.
5236 * <p>
@@ -97,22 +81,6 @@ default void storePassphrase(String key, @Nullable String displayName, CharSeque
9781 */
9882 void deletePassphrase (String key ) throws KeychainAccessException ;
9983
100- /**
101- * Updates a passphrase with a given key. Noop, if there is no item for the given key.
102- * <p>
103- * Note: Caller is responsible for zeroing the passphrase array after use.
104- *
105- * @param key Unique key previously used while {@link #storePassphrase(String, String, CharSequence)} storing a passphrase}.
106- * @param passphrase The secret to be updated in this keychain.
107- * @throws KeychainAccessException If changing the password failed
108- * @deprecated Please use {@link #changePassphrase(String, String, CharSequence)} instead
109- */
110- @ Deprecated
111- @ ApiStatus .ScheduledForRemoval (inVersion = "1.2.0" )
112- default void changePassphrase (String key , CharSequence passphrase ) throws KeychainAccessException {
113- changePassphrase (key , null , passphrase );
114- }
115-
11684 /**
11785 * Updates a passphrase with a given key and stores a name for that key. Noop, if there is no item for the given key.
11886 * <p>
0 commit comments