summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorJanis Danisevskis <jdanis@google.com>2020-11-11 23:10:13 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-11-11 23:10:13 +0000
commit17f24b5799a01c7966a05a4125cae97fb0f74cf8 (patch)
treee8416131467d2ef7460e48961779483823d9245f /api
parent708e1e599560a9be168e49c3a29cd59a8cd4043a (diff)
parentc5bdd77f1abbac6d6d0cf770312a9a3a816769b9 (diff)
Merge "Keystore 2.0 SPI: Update KeyInfo and KeyGenParameterSpec"
Diffstat (limited to 'api')
-rw-r--r--api/current.txt3
-rwxr-xr-xapi/system-current.txt7
2 files changed, 8 insertions, 2 deletions
diff --git a/api/current.txt b/api/current.txt
index 1a405d52c025..010c896235e3 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -42821,10 +42821,11 @@ package android.security.keystore {
method public String getKeystoreAlias();
method public int getOrigin();
method public int getPurposes();
+ method public int getSecurityLevel();
method @NonNull public String[] getSignaturePaddings();
method public int getUserAuthenticationType();
method public int getUserAuthenticationValidityDurationSeconds();
- method public boolean isInsideSecureHardware();
+ method @Deprecated public boolean isInsideSecureHardware();
method public boolean isInvalidatedByBiometricEnrollment();
method public boolean isTrustedUserPresenceRequired();
method public boolean isUserAuthenticationRequired();
diff --git a/api/system-current.txt b/api/system-current.txt
index 042e2dc53b9c..abe95aebf8b2 100755
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -9377,8 +9377,13 @@ package android.security.keystore {
ctor public DeviceIdAttestationException(@Nullable String, @Nullable Throwable);
}
+ public final class KeyGenParameterSpec implements java.security.spec.AlgorithmParameterSpec {
+ method public int getNamespace();
+ }
+
public static final class KeyGenParameterSpec.Builder {
- method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setUid(int);
+ method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setNamespace(int);
+ method @Deprecated @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setUid(int);
}
}