Lines Matching refs:Certificate
57 import java.security.cert.Certificate;
219 Log.e(TAG, "Failed to import user certificate " + userCertificate);
226 Log.e(TAG, "Failed to import certificate chain" + userCertificateChain);
228 Log.e(TAG, "Failed to clean up key chain after certificate chain"
235 Log.e(TAG, "Failed to remove CA certificate chain for alias " + alias);
300 * @param privateKey The private key associated with the client certificate
301 * @param userCertificate The client certificate to be installed
302 * @param userCertificateChain The rest of the chain for the client certificate
324 Log.e(TAG, "Failed to import user certificate " + userCertificate);
326 Log.e(TAG, "Failed to delete private key after certificate importing failed");
333 Log.e(TAG, "Failed to import certificate chain" + userCertificateChain);
335 Log.e(TAG, "Failed to clean up key chain after certificate chain"
398 final Certificate cert = mTrustedCertificateStore.getCertificate(alias);
413 Log.w(TAG, "Problem removing CA certificate " + alias, e);
476 X509Certificate certificate = (X509Certificate) mTrustedCertificateStore
478 if (certificate == null) {
479 Log.w(TAG, "Could not find CA certificate " + alias);
483 return certificate.getEncoded();
485 Log.w(TAG, "Error while encoding CA certificate " + alias);