summaryrefslogtreecommitdiff
path: root/keystore/java/android/security/Credentials.java
diff options
context:
space:
mode:
authorAndrei Onea <andreionea@google.com>2019-02-28 13:44:21 +0000
committerAndrei Onea <andreionea@google.com>2019-02-28 13:46:06 +0000
commitffeefd3cd3f09d2a59d97c5ea96bcf1cbe3d6583 (patch)
tree7965a27ad8c216120f939d4cae8502afc7a7682d /keystore/java/android/security/Credentials.java
parentc76c5529bf24d489f7f312de7d25fa0d6aa4f4e8 (diff)
Add @UnsupportedAppUsage annotations
For packages: android.security android.service.dreams android.service.euicc android.service.vr android.service.wallpaper This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Merged-In: I1c8ae08f8d3b4b2f5bf365468f22155f8def09fe Change-Id: I09850a52193a28b0f884cfa01b564c29d25d41ed
Diffstat (limited to 'keystore/java/android/security/Credentials.java')
-rw-r--r--keystore/java/android/security/Credentials.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/keystore/java/android/security/Credentials.java b/keystore/java/android/security/Credentials.java
index 072fe7321826..962ce512d949 100644
--- a/keystore/java/android/security/Credentials.java
+++ b/keystore/java/android/security/Credentials.java
@@ -131,6 +131,7 @@ public class Credentials {
* Convert objects to a PEM format which is used for
* CA_CERTIFICATE and USER_CERTIFICATE entries.
*/
+ @UnsupportedAppUsage
public static byte[] convertToPem(Certificate... objects)
throws IOException, CertificateEncodingException {
ByteArrayOutputStream bao = new ByteArrayOutputStream();