summaryrefslogtreecommitdiff
path: root/identity/java/android/security
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 /identity/java/android/security
parent2fb5112a358db4794801104dae63f6b6daff84ff (diff)
Hide WriteableIdentityCredential constructor from public API
Bug: 111446262 Test: CtsIdentityTestCases Change-Id: Iafe8e76e6491ff92ee751702b8fb44aeda7355a8
Diffstat (limited to 'identity/java/android/security')
-rw-r--r--identity/java/android/security/identity/WritableIdentityCredential.java5
1 files changed, 5 insertions, 0 deletions
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>