Home
last modified time | relevance | path

Searched refs:Base64 (Results 1 – 7 of 7) sorted by relevance

/development/samples/KeyChainDemo/src/com/example/android/keychain/
DSecureWebServer.java34 import android.util.Base64;
178 return Base64.encodeToString(embeddedImage, Base64.DEFAULT); in createBase64Image()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPackageValidator.java23 import android.util.Base64;
110 String signature = Base64.encodeToString( in isCallerAllowed()
111 packageInfo.signatures[0].toByteArray(), Base64.NO_WRAP); in isCallerAllowed()
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java28 import android.util.Base64;
273 String result = Base64.encodeToString(signature, Base64.DEFAULT); in signData()
304 signature = Base64.decode(signatureStr, Base64.DEFAULT); in verifyData()
/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java28 import android.util.Base64;
372 return Base64.encodeToString(signature, Base64.DEFAULT); in doInBackground()
420 signature = Base64.decode(signatureString, Base64.DEFAULT); in doInBackground()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DMainActivity.java28 import android.util.Base64;
168 v.setText(Base64.encodeToString(encrypted, 0 /* flags */)); in showConfirmation()
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DBase64.java20 public class Base64 { class
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DMainActivity.java31 import android.util.Base64;
200 v.setText(Base64.encodeToString(encrypted, 0 /* flags */)); in showConfirmation()