summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@google.com>2020-01-21 15:51:36 -0500
committerDavid Zeuthen <zeuthen@google.com>2020-01-21 15:54:30 -0500
commitc34b0850828149aa3bd9e4635a0ff53c96244d40 (patch)
tree77e2b921df3f1070a9502a0188a4fb1ad46d1d5c
parent2fb5112a358db4794801104dae63f6b6daff84ff (diff)
Hide WriteableIdentityCredential constructor from public API
Bug: 111446262 Test: CtsIdentityTestCases Change-Id: Iafe8e76e6491ff92ee751702b8fb44aeda7355a8
-rw-r--r--api/current.txt1
-rw-r--r--identity/java/android/security/identity/WritableIdentityCredential.java5
2 files changed, 5 insertions, 1 deletions
diff --git a/api/current.txt b/api/current.txt
index 3e40b17951e7..7149711e9df5 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -41189,7 +41189,6 @@ package android.security.identity {
}
public abstract class WritableIdentityCredential {
- ctor public WritableIdentityCredential();
method @NonNull public abstract java.util.Collection<java.security.cert.X509Certificate> getCredentialKeyCertificateChain(@NonNull byte[]);
method @NonNull public abstract byte[] personalize(@NonNull android.security.identity.PersonalizationData);
}
diff --git a/identity/java/android/security/identity/WritableIdentityCredential.java b/identity/java/android/security/identity/WritableIdentityCredential.java
index 5f575b9d56f3..e2a389bfd4da 100644
--- a/identity/java/android/security/identity/WritableIdentityCredential.java
+++ b/identity/java/android/security/identity/WritableIdentityCredential.java
@@ -31,6 +31,11 @@ import java.util.Collection;
*/
public abstract class WritableIdentityCredential {
/**
+ * @hide
+ */
+ protected WritableIdentityCredential() {}
+
+ /**
* Generates and returns an X.509 certificate chain for the CredentialKey which identifies this
* credential to the issuing authority. The certificate contains an
* <a href="https://source.android.com/security/keystore/attestation">Android Keystore</a>