Searched refs:certBuffer (Results 1 – 2 of 2) sorted by relevance
81 byte[] certBuffer; in onCreate()85 certBuffer = intent.getByteArrayExtra(EXTRA_CERT_DATA); in onCreate()87 if (dpm.hasCaCertInstalled(null, certBuffer)) { in onCreate()90 if (!dpm.installCaCert(null, certBuffer)) { in onCreate()93 if (!dpm.hasCaCertInstalled(null, certBuffer)) { in onCreate()103 certBuffer = intent.getByteArrayExtra(EXTRA_CERT_DATA); in onCreate()104 if (!dpm.hasCaCertInstalled(null, certBuffer)) { in onCreate()107 dpm.uninstallCaCert(null, certBuffer); in onCreate()108 sendResult(!dpm.hasCaCertInstalled(null, certBuffer), null); in onCreate()115 certBuffer = intent.getByteArrayExtra(EXTRA_CERT_DATA); in onCreate()[all …]
72 for (byte[] certBuffer : certificates) { in containsCertificate()73 Certificate cert = readCertificate(certBuffer); in containsCertificate()81 private static Certificate readCertificate(byte[] certBuffer) throws CertificateException { in readCertificate() argument83 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()