From fcdccac49067e4cc60567ee93ccf1b62e74477fb Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Thu, 1 Mar 2012 15:14:14 -0800 Subject: Remove obsolete KeyChain references to USE_CREDENTIALS (2 of 2) Change-Id: Ic8a22ce3a9010b8378af044e611bf787e15f6227 --- keystore/java/android/security/KeyChain.java | 9 --------- 1 file changed, 9 deletions(-) (limited to 'keystore') diff --git a/keystore/java/android/security/KeyChain.java b/keystore/java/android/security/KeyChain.java index 0fe7bd8..fba5bab 100644 --- a/keystore/java/android/security/KeyChain.java +++ b/keystore/java/android/security/KeyChain.java @@ -224,9 +224,6 @@ public final class KeyChain { *

{@code alias} allows the chooser to preselect an existing * alias which will still be subject to user confirmation. * - *

This method requires the caller to hold the permission - * {@link android.Manifest.permission#USE_CREDENTIALS}. - * * @param activity The {@link Activity} context to use for * launching the new sub-Activity to prompt the user to select * a private key; used only to call startActivity(); must not @@ -294,9 +291,6 @@ public final class KeyChain { * Returns the {@code PrivateKey} for the requested alias, or null * if no there is no result. * - *

This method requires the caller to hold the permission - * {@link android.Manifest.permission#USE_CREDENTIALS}. - * * @param alias The alias of the desired private key, typically * returned via {@link KeyChainAliasCallback#alias}. * @throws KeyChainException if the alias was valid but there was some problem accessing it. @@ -325,9 +319,6 @@ public final class KeyChain { * Returns the {@code X509Certificate} chain for the requested * alias, or null if no there is no result. * - *

This method requires the caller to hold the permission - * {@link android.Manifest.permission#USE_CREDENTIALS}. - * * @param alias The alias of the desired certificate chain, typically * returned via {@link KeyChainAliasCallback#alias}. * @throws KeyChainException if the alias was valid but there was some problem accessing it. -- cgit v1.1