Home
last modified time | relevance | path

Searched refs:certBytes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DParcelUtil.java94 byte[] certBytes = null; in writeCertificate()
97 certBytes = cert.getEncoded(); in writeCertificate()
102 dest.writeByteArray(certBytes); in writeCertificate()
112 byte[] certBytes = in.createByteArray(); in readCertificate()
113 if (certBytes == null) { in readCertificate()
120 .generateCertificate(new ByteArrayInputStream(certBytes)); in readCertificate()
/frameworks/base/core/java/android/security/keystore/recovery/
DX509CertificateParsingUtils.java61 private static X509Certificate decodeCert(byte[] certBytes) throws CertificateException { in decodeCert() argument
62 return decodeCert(new ByteArrayInputStream(certBytes)); in decodeCert()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java979 final byte[] certBytes = mKeyStore.get(Credentials.USER_CERTIFICATE + alias, mUid); in engineGetCertificateAlias()
980 if (certBytes == null) { in engineGetCertificateAlias()
986 if (Arrays.equals(certBytes, targetCertBytes)) { in engineGetCertificateAlias()
1003 final byte[] certBytes = mKeyStore.get(Credentials.CA_CERTIFICATE + alias, mUid); in engineGetCertificateAlias()
1004 if (certBytes == null) { in engineGetCertificateAlias()
1008 if (Arrays.equals(certBytes, targetCertBytes)) { in engineGetCertificateAlias()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java89 static X509Certificate decodeCert(byte[] certBytes) throws CertParsingException { in decodeCert() argument
90 return decodeCert(new ByteArrayInputStream(certBytes)); in decodeCert()