Searched refs:certBytes (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
H A DParcelUtil.java94 byte[] certBytes = null;
97 certBytes = cert.getEncoded();
102 dest.writeByteArray(certBytes);
112 byte[] certBytes = in.createByteArray();
113 if (certBytes == null) {
120 .generateCertificate(new ByteArrayInputStream(certBytes));
/frameworks/base/core/java/android/security/keystore/recovery/
H A DX509CertificateParsingUtils.java57 * @param certBytes the byte array containing the encoded X509 certificate
61 private static X509Certificate decodeCert(byte[] certBytes) throws CertificateException { argument
62 return decodeCert(new ByteArrayInputStream(certBytes));
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCarrierKeyDownloadMgrTest.java160 ByteArrayInputStream certBytes = new ByteArrayInputStream(CERT.getBytes());
161 Reader fRd = new BufferedReader(new InputStreamReader(certBytes));
184 ByteArrayInputStream certBytes = new ByteArrayInputStream(CERT.getBytes());
185 Reader fRd = new BufferedReader(new InputStreamReader(certBytes));
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
H A DCertUtils.java91 * @param certBytes the byte array containing the encoded X509 certificate
95 static X509Certificate decodeCert(byte[] certBytes) throws CertParsingException { argument
96 return decodeCert(new ByteArrayInputStream(certBytes));
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreSpi.java963 final byte[] certBytes = mKeyStore.get(Credentials.USER_CERTIFICATE + alias, mUid);
964 if (certBytes == null) {
970 if (Arrays.equals(certBytes, targetCertBytes)) {
987 final byte[] certBytes = mKeyStore.get(Credentials.CA_CERTIFICATE + alias, mUid);
988 if (certBytes == null) {
992 if (Arrays.equals(certBytes, targetCertBytes)) {

Completed in 252 milliseconds