mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
Use StrongBox on API 28+ if available.
This commit is contained in:
@@ -3,6 +3,7 @@ package org.briarproject.bramble.api.crypto;
|
||||
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
|
||||
|
||||
import java.security.spec.AlgorithmParameterSpec;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Configures the use of a stored key to strengthen password-based encryption.
|
||||
@@ -23,5 +24,9 @@ public interface KeyStoreConfig {
|
||||
|
||||
String getMacAlgorithmName();
|
||||
|
||||
AlgorithmParameterSpec getParameterSpec();
|
||||
/**
|
||||
* Returns a list of {@link AlgorithmParameterSpec AlgorithmParameterSpecs}
|
||||
* to use for key generation, in order of preference.
|
||||
*/
|
||||
List<AlgorithmParameterSpec> getParameterSpecs();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user