Searched refs:certBytes (Results 1 – 4 of 4) sorted by relevance
94 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()
61 private static X509Certificate decodeCert(byte[] certBytes) throws CertificateException { in decodeCert() argument62 return decodeCert(new ByteArrayInputStream(certBytes)); in decodeCert()
979 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()
89 static X509Certificate decodeCert(byte[] certBytes) throws CertParsingException { in decodeCert() argument90 return decodeCert(new ByteArrayInputStream(certBytes)); in decodeCert()