/libcore/luni/src/main/java/java/security/cert/ |
CollectionCertStoreParameters.java | 18 package java.security.cert;
|
PKIXCertPathBuilderResult.java | 19 package java.security.cert;
|
/libcore/luni/src/main/java/javax/net/ssl/ |
X509KeyManager.java | 23 import java.security.cert.X509Certificate;
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
Certificate.java | 129 Certificate cert = (Certificate) object; 130 values[0] = cert.tbsCertificate; 131 values[1] = cert.signatureAlgorithm; 132 values[2] = new BitString(cert.signatureValue, 0);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyKeyStoreSpi.java | 35 import java.security.cert.Certificate; 36 import java.security.cert.CertificateException; 80 public void engineSetCertificateEntry(String alias, Certificate cert) 124 public String engineGetCertificateAlias(Certificate cert) {
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwContentsClientBridge.java | 20 import java.security.cert.CertificateEncodingException; 21 import java.security.cert.X509Certificate; 171 final SslCertificate cert = SslUtil.getCertificateFromDerBytes(derBytes); local 172 if (cert == null) { 176 final SslError sslError = SslUtil.sslErrorFromNetErrorCode(certError, cert, url); 202 ClientCertLookupTable.Cert cert = mLookupTable.getCertData(host, port); local 208 if (cert != null) { 210 cert.certChain, cert.privateKey) [all...] |
/external/chromium_org/chromeos/network/ |
client_cert_util.cc | 7 #include <cert.h> 17 #include "net/cert/cert_database.h" 18 #include "net/cert/nss_cert_database.h" 19 #include "net/cert/scoped_nss_types.h" 20 #include "net/cert/x509_cert_types.h" 21 #include "net/cert/x509_certificate.h" 35 bool operator()(const scoped_refptr<net::X509Certificate>& cert) const { 36 return !CertPrincipalMatches(issuer_, cert.get()->issuer()); 47 bool operator()(const scoped_refptr<net::X509Certificate>& cert) const { 48 return !CertPrincipalMatches(subject_, cert.get()->subject()) [all...] |
client_cert_resolver.cc | 7 #include <cert.h> 32 #include "net/cert/scoped_nss_types.h" 33 #include "net/cert/x509_certificate.h" 64 // Returns true if a private key for certificate |cert| is installed. 65 bool HasPrivateKey(const net::X509Certificate& cert) { 66 PK11SlotInfo* slot = PK11_KeyForCertExists(cert.os_cert_handle(), NULL, NULL); 78 : cert(certificate), 81 scoped_refptr<net::X509Certificate> cert; member in struct:chromeos::__anon10676::CertAndIssuer 87 return (a.cert->valid_expiry() > b.cert->valid_expiry()) 145 const net::X509Certificate& cert = **it; local [all...] |
/external/chromium_org/net/cert/ |
nss_cert_database_chromeos_unittest.cc | 5 #include "net/cert/nss_cert_database_chromeos.h" 14 #include "net/cert/cert_database.h" 22 bool IsCertInCertificateList(const X509Certificate* cert, 28 cert->os_cert_handle())) 83 virtual void OnCertAdded(const X509Certificate* cert) OVERRIDE { 84 added_.push_back(cert ? cert->os_cert_handle() : NULL); 87 virtual void OnCertRemoved(const X509Certificate* cert) OVERRIDE {} 89 virtual void OnCACertChanged(const X509Certificate* cert) OVERRIDE { 90 added_ca_.push_back(cert ? cert->os_cert_handle() : NULL) [all...] |
x509_certificate_nss.cc | 5 #include "net/cert/x509_certificate.h" 7 #include <cert.h> 24 #include "net/cert/x509_util_nss.h" 52 X509Certificate* cert = CreateFromHandle(cert_handle, OSCertHandles()); 56 cert->default_nickname_ = nickname; 58 return cert; 213 OSCertHandle cert) { 217 DCHECK(NULL != cert->derCert.data); 218 DCHECK_NE(0U, cert->derCert.len); 221 cert->derCert.data, cert->derCert.len) [all...] |
cert_verify_proc_win.cc | 5 #include "net/cert/cert_verify_proc_win.h" 18 #include "net/cert/asn1_util.h" 19 #include "net/cert/cert_status_flags.h" 20 #include "net/cert/cert_verifier.h" 21 #include "net/cert/cert_verify_result.h" 22 #include "net/cert/crl_set.h" 23 #include "net/cert/ev_root_ca_metadata.h" 24 #include "net/cert/test_root_certs.h" 25 #include "net/cert/x509_certificate.h" 26 #include "net/cert/x509_certificate_known_roots_win.h 282 PCCERT_CONTEXT cert = element[num_elements - 1]->pCertContext; local 320 PCCERT_CONTEXT cert = element[i]->pCertContext; local 410 PCCERT_CONTEXT cert = element[i]->pCertContext; local 470 PCCERT_CONTEXT cert = element[i]->pCertContext; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/ |
p12_kiss.c | 74 /* Parse and decrypt a PKCS#12 structure returning user key, user cert 76 * or it should point to a valid STACK structure. pkey and cert can be 80 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, 95 if(cert) 96 *cert = NULL; 135 if (pkey && *pkey && cert && !*cert) 139 *cert = x; 167 if (cert && *cert) [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLX509CertPath.java | 22 import java.security.cert.CertPath; 23 import java.security.cert.Certificate; 24 import java.security.cert.CertificateEncodingException; 25 import java.security.cert.CertificateException; 26 import java.security.cert.X509Certificate; 97 final X509Certificate cert = mCertificates.get(i); local 99 if (cert instanceof OpenSSLX509Certificate) { 100 certs[j] = (OpenSSLX509Certificate) cert; 102 certs[j] = OpenSSLX509Certificate.fromX509Der(cert.getEncoded());
|
/external/openssl/crypto/pkcs12/ |
p12_kiss.c | 74 /* Parse and decrypt a PKCS#12 structure returning user key, user cert 76 * or it should point to a valid STACK structure. pkey and cert can be 80 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, 95 if(cert) 96 *cert = NULL; 135 if (pkey && *pkey && cert && !*cert) 139 *cert = x; 167 if (cert && *cert) [all...] |
/frameworks/base/services/core/java/com/android/server/updates/ |
ConfigUpdateInstallReceiver.java | 36 import java.security.cert.CertificateException; 37 import java.security.cert.CertificateFactory; 38 import java.security.cert.X509Certificate; 76 X509Certificate cert = getCert(context.getContentResolver()); local 95 cert)) { 119 // get the cert from settings 120 String cert = Settings.Secure.getString(cr, UPDATE_CERTIFICATE_KEY); local 123 byte[] derCert = Base64.decode(cert.getBytes(), Base64.DEFAULT); 220 String signature, X509Certificate cert) throws Exception { 222 signer.initVerify(cert); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
CertPinInstallReceiverTest.java | 33 import java.security.cert.CertificateFactory; 34 import java.security.cert.Certificate; 35 import java.security.cert.X509Certificate; 174 String signature, X509Certificate cert) throws Exception { 176 signer.initVerify(cert); 193 private String runTest(String cert, String content, String version, String required, String sig) 196 overrideCert(cert); 203 private String runTestWithoutSig(String cert, String content, String version, String required) 206 return runTest(cert, content, version, required, sig);
|
/packages/apps/Settings/tests/src/com/android/settings/vpn2/ |
CertInstallerHelper.java | 46 import java.security.cert.Certificate; 47 import java.security.cert.CertificateEncodingException; 48 import java.security.cert.CertificateException; 49 import java.security.cert.X509Certificate; 140 X509Certificate cert = (X509Certificate) c; local 141 if (isCa(cert)) { 142 mCaCerts.add(cert); 149 private boolean isCa(X509Certificate cert) { 151 byte[] asn1EncodedBytes = cert.getExtensionValue("2.5.29.19");
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiEnterpriseConfig.java | 27 import java.security.cert.CertificateEncodingException; 28 import java.security.cert.CertificateException; 29 import java.security.cert.CertificateFactory; 30 import java.security.cert.X509Certificate; 145 private void writeCertificate(Parcel dest, X509Certificate cert) { 146 if (cert != null) { 148 byte[] certBytes = cert.getEncoded(); 194 X509Certificate cert = null; 201 cert = (X509Certificate) cFactory 204 cert = null [all...] |
/libcore/luni/src/test/java/com/android/org/bouncycastle/jce/provider/ |
CertBlacklistTest.java | 26 import java.security.cert.CertificateFactory; 27 import java.security.cert.Certificate; 28 import java.security.cert.X509Certificate; 219 private static PublicKey createPublicKey(String cert) throws Exception { 220 byte[] derCert = Base64.decode(cert.getBytes()); 226 private static BigInteger createSerialNumber(String cert) throws Exception { 227 byte[] derCert = Base64.decode(cert.getBytes()); 450 private static void printHash(String cert) throws Exception { 451 System.out.println("CERTIFICATE PUBLIC KEY HASH: " + getHash(createPublicKey(cert))); 454 private static void printSerial(String cert) throws Exception [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactorySpiTest.java | 23 package tests.security.cert; 28 import org.apache.harmony.security.tests.support.cert.MyCertificateFactorySpi; 33 import java.security.cert.CRL; 34 import java.security.cert.CRLException; 35 import java.security.cert.Certificate; 36 import java.security.cert.CertificateException; 37 import java.security.cert.CertificateFactorySpi; 148 Certificate cert = certFactorySpi local 150 assertNull("Result must be null", cert); 218 Certificate cert = certFactorySp local [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/ |
certificate_manager_handler.cc | 32 #include "net/cert/x509_certificate.h" 117 explicit CertEquals(const net::X509Certificate* cert) : cert_(cert) {} 118 bool operator()(const scoped_refptr<net::X509Certificate> cert) const { 119 return cert_->Equals(cert.get()); 127 net::X509Certificate* cert) { 129 CertEquals(cert)) != web_trust_certs.end(); 135 net::X509Certificate* cert) { 136 CertificateViewerModalDialog* dialog = new CertificateViewerModalDialog(cert); 153 std::string CertToId(net::X509Certificate* cert); 541 net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); local 556 net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); local 576 net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); local 610 net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); local 983 net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); local 991 net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); local 1076 net::X509Certificate* cert = org_cert_it->get(); local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
TimestampTest.java | 25 import java.security.cert.CertPath; 28 import org.apache.harmony.security.tests.support.cert.MyCertPath;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
X509CRLSelectorTest.java | 22 package org.apache.harmony.security.tests.java.security.cert; 25 import java.security.cert.X509CRLSelector; 39 * @tests java.security.cert.X509CRLSelector#addIssuer(javax.security.auth.x500.X500Principal) 54 * @tests java.security.cert.X509CRLSelector#addIssuerName(java.lang.String) 76 * @tests java.security.cert.X509CRLSelector#addIssuerName(byte[]) 90 * @tests java.security.cert.X509CRLSelector#addIssuerName(byte[])
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
PKIXParameters_ImplTest.java | 22 package org.apache.harmony.security.tests.java.security.cert; 28 import java.security.cert.CertPathParameters; 29 import java.security.cert.CertStore; 30 import java.security.cert.CollectionCertStoreParameters; 31 import java.security.cert.PKIXCertPathChecker; 32 import java.security.cert.PKIXParameters; 33 import java.security.cert.X509CertSelector; 40 import org.apache.harmony.security.tests.support.cert.TestUtils;
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLSessionBindingEventTest.java | 21 import java.security.cert.Certificate; 27 import javax.security.cert.X509Certificate;
|