Searched refs:certBuffer (Results 1 – 2 of 2) sorted by relevance
77 byte[] certBuffer; in onReceive()81 certBuffer = intent.getByteArrayExtra(EXTRA_CERT_DATA); in onReceive()83 if (dpm.hasCaCertInstalled(null, certBuffer)) { in onReceive()86 if (!dpm.installCaCert(null, certBuffer)) { in onReceive()89 if (!dpm.hasCaCertInstalled(null, certBuffer)) { in onReceive()99 certBuffer = intent.getByteArrayExtra(EXTRA_CERT_DATA); in onReceive()100 if (!dpm.hasCaCertInstalled(null, certBuffer)) { in onReceive()103 dpm.uninstallCaCert(null, certBuffer); in onReceive()104 sendResult(context, !dpm.hasCaCertInstalled(null, certBuffer), null); in onReceive()111 certBuffer = intent.getByteArrayExtra(EXTRA_CERT_DATA); in onReceive()[all …]
137 for (byte[] certBuffer : mDevicePolicyManager.getInstalledCaCerts(getWho())) { in isCaCertInstalledAndTrusted()138 if (caCert.equals(readCertificate(certBuffer))) { in isCaCertInstalledAndTrusted()168 private static Certificate readCertificate(byte[] certBuffer) throws CertificateException { in readCertificate() argument170 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()