Lines Matching defs:certBuffer
3520 * @param certBuffer encoded form of the certificate to install.
3522 * @return false if the certBuffer cannot be parsed or installation is
3529 public boolean installCaCert(@Nullable ComponentName admin, byte[] certBuffer) {
3533 return mService.installCaCert(admin, mContext.getPackageName(), certBuffer);
3550 * @param certBuffer encoded form of the certificate to remove.
3556 public void uninstallCaCert(@Nullable ComponentName admin, byte[] certBuffer) {
3560 final String alias = getCaCertAlias(certBuffer);
3628 * @param certBuffer encoded form of the certificate to look up.
3632 public boolean hasCaCertInstalled(@Nullable ComponentName admin, byte[] certBuffer) {
3637 return getCaCertAlias(certBuffer) != null;
3753 private static String getCaCertAlias(byte[] certBuffer) throws CertificateException {
3756 new ByteArrayInputStream(certBuffer));