Lines Matching full:bytes
88 byte[] bytes = bundle.getByteArray(key);
89 Log.d(TAG, " " + key + ": " + ((bytes == null) ? -1 : bytes.length));
90 mBundle.put(key, bytes);
119 byte[] bytes = savedStates.getByteArray(Credentials.USER_PRIVATE_KEY);
120 if (bytes != null) {
121 setPrivateKey(bytes);
134 private void parseCert(byte[] bytes) {
135 if (bytes == null) {
143 new ByteArrayInputStream(bytes));
195 void setPrivateKey(byte[] bytes) {
198 mUserKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(bytes));
281 byte[] bytes = null;
283 bytes = caCert.getEncoded();
287 if (bytes != null) {
289 keyChainService.installCaCertificate(bytes);