/external/chromium_org/net/data/ssl/scripts/ |
generate-aia-certs.sh | 29 try openssl genrsa -out out/aia-test-cert.key 2048 79 -key out/aia-test-cert.key \ 80 -out out/aia-test-cert.csr \ 89 -in out/aia-test-cert.csr \ 90 -out out/aia-test-cert.pem \ 95 try cp out/aia-test-cert.pem ../certificates/aia-cert.pem
|
/libcore/luni/src/test/java/tests/security/cert/ |
PKIXCertPathBuilderResultTest.java | 23 package tests.security.cert; 27 import org.apache.harmony.security.tests.support.cert.MyCertPath; 28 import org.apache.harmony.security.tests.support.cert.TestUtils; 32 import java.security.cert.CertPath; 33 import java.security.cert.CertPathBuilderResult; 34 import java.security.cert.PKIXCertPathBuilderResult; 35 import java.security.cert.TrustAnchor; 44 * Cert path encoding stub
|
CertPathTest.java | 23 package tests.security.cert; 26 import java.security.cert.CertPath; 27 import java.security.cert.CertificateEncodingException; 30 import org.apache.harmony.security.tests.support.cert.MyCertPath; 31 import org.apache.harmony.security.tests.support.cert.MyFailingCertPath; 32 import org.apache.harmony.security.tests.support.cert.TestUtils; 41 * Meaningless cert path encoding just for testing purposes 100 * Assertion: returns cert path type 205 "java.security.cert.CertPath$CertPathRep"));
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
TestUtils.java | 22 package org.apache.harmony.security.tests.support.cert; 32 import java.security.cert.CertPathValidatorException; 33 import java.security.cert.CertStore; 34 import java.security.cert.Certificate; 35 import java.security.cert.CertificateException; 36 import java.security.cert.CertificateFactory; 37 import java.security.cert.CollectionCertStoreParameters; 38 import java.security.cert.PKIXCertPathChecker; 39 import java.security.cert.PolicyNode; 40 import java.security.cert.TrustAnchor [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CertSelectorTest.java | 22 package java.security.cert; 32 import java.security.cert.CertificateEncodingException; 33 import java.security.cert.CertificateException; 34 import java.security.cert.CertificateExpiredException; 35 import java.security.cert.CertificateNotYetValidException; 36 import java.security.cert.X509Certificate; 222 public boolean equals(Object cert) { 223 if (cert == null) { 227 || (((TestCert) cert).equalCriteria == null)) { 230 return equalCriteria.equals(((TestCert) cert).equalCriteria) 1652 TestCert cert = new TestCert(sans_1); local 2328 TestCert cert; local 2444 TestCert cert; local 2561 TestCert cert; local 2720 TestCert cert = new TestCert("certificate equality criteria"); local 2786 TestCert cert = new TestCert("certificate equality criteria"); local 2828 TestCert cert = new TestCert(); local 2881 TestCert cert = new TestCert("certificate equality criteria"); local [all...] |
/external/openssl/ssl/ |
ssl_cert.c | 163 CERT *ssl_cert_new(void) 165 CERT *ret; 167 ret=(CERT *)OPENSSL_malloc(sizeof(CERT)); 173 memset(ret,0,sizeof(CERT)); 180 CERT *ssl_cert_dup(CERT *cert) 182 CERT *ret; 185 ret = (CERT *)OPENSSL_malloc(sizeof(CERT)) [all...] |
/external/wpa_supplicant_8/src/tls/ |
tlsv1_cred.c | 32 x509_certificate_chain_free(cred->cert); 43 struct x509_certificate *cert, *p; local 46 cert = x509_certificate_parse(buf, len); 47 if (cert == NULL) { 56 if (p && x509_name_compare(&cert->subject, &p->issuer) == 0) { 61 p->next = cert; 64 cert->next = *chain; 65 *chain = cert; 68 x509_name_string(&cert->subject, name, sizeof(name)); 153 const char *cert, const u8 *cert_blob [all...] |
tlsv1_client_write.c | 27 struct x509_certificate *cert; local 32 cert = conn->cred->cert; 33 while (cert) { 34 len += 3 + cert->cert_len; 35 if (x509_certificate_self_signed(cert)) 37 cert = x509_certificate_get_subject(conn->cred->trusted_certs, 38 &cert->issuer); 134 struct x509_certificate *cert; local 155 cert = conn->cred ? conn->cred->cert : NULL [all...] |
tlsv1_server_write.c | 27 struct x509_certificate *cert; local 29 cert = conn->cred->cert; 30 while (cert) { 31 len += 3 + cert->cert_len; 32 if (x509_certificate_self_signed(cert)) 34 cert = x509_certificate_get_subject(conn->cred->trusted_certs, 35 &cert->issuer); 160 struct x509_certificate *cert; local 189 cert = conn->cred->cert [all...] |
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CredentialHelper.java | 41 import java.security.cert.Certificate; 42 import java.security.cert.CertificateEncodingException; 43 import java.security.cert.CertificateException; 44 import java.security.cert.CertificateFactory; 45 import java.security.cert.X509Certificate; 111 for (X509Certificate cert : mCaCerts) { 112 certs.add(cert.getEncoded()); 129 for (byte[] cert : certs) { 130 parseCert(cert); 145 X509Certificate cert = (X509Certificate local 359 X509Certificate cert = (X509Certificate) c; local [all...] |
/external/apache-http/src/org/apache/http/conn/ssl/ |
AbstractVerifier.java | 38 import java.security.cert.Certificate; 39 import java.security.cert.CertificateParsingException; 40 import java.security.cert.X509Certificate; 110 public final void verify(String host, X509Certificate cert) 112 String[] cns = getCNs(cert); 113 String[] subjectAlts = getDNSSubjectAlts(cert); 204 public static String[] getCNs(X509Certificate cert) { 206 new DistinguishedNameParser(cert.getSubjectX500Principal()); 230 * @param cert X509Certificate 233 public static String[] getDNSSubjectAlts(X509Certificate cert) { [all...] |
/external/chromium_org/net/cert/ |
cert_verify_proc_openssl.cc | 5 #include "net/cert/cert_verify_proc_openssl.h" 17 #include "net/cert/asn1_util.h" 18 #include "net/cert/cert_status_flags.h" 19 #include "net/cert/cert_verifier.h" 20 #include "net/cert/cert_verify_result.h" 21 #include "net/cert/test_root_certs.h" 22 #include "net/cert/x509_certificate.h" 28 // Maps X509_STORE_CTX_get_error() return values to our cert status flags. 104 X509* cert = sk_X509_value(chain, i); local 106 verified_cert = cert; 154 X509* cert = sk_X509_value(chain, i); local [all...] |
cert_verify_proc_android.cc | 5 #include "net/cert/cert_verify_proc_android.h" 17 #include "net/cert/asn1_util.h" 18 #include "net/cert/cert_status_flags.h" 19 #include "net/cert/cert_verify_result.h" 20 #include "net/cert/x509_certificate.h" 93 bool GetChainDEREncodedBytes(X509Certificate* cert, 95 X509Certificate::OSCertHandle cert_handle = cert->os_cert_handle(); 97 cert->GetIntermediateCertificates(); 99 // Make sure the peer's own cert is the first in the chain, if it's not 126 X509Certificate* cert, [all...] |
/libcore/luni/src/test/java/tests/targets/security/cert/ |
CertificateTest.java | 16 package tests.targets.security.cert; 24 import java.security.cert.CertPath; 25 import java.security.cert.CertPathValidator; 26 import java.security.cert.CertPathValidatorException; 27 import java.security.cert.CertPathValidatorResult; 28 import java.security.cert.Certificate; 29 import java.security.cert.CertificateFactory; 30 import java.security.cert.PKIXCertPathValidatorResult; 31 import java.security.cert.PKIXParameters; 32 import java.security.cert.X509Certificate [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/third_party/fancy_urllib/ |
__init__.py | 6 """A HTTPSConnection/Handler with additional proxy and cert validation features. 9 proxies and adds SSL cert validation if the ssl module is present. 28 def __init__(self, host, cert, reason): 33 cert: The SSL certificate (as a dictionary) the host returned. 37 self.cert = cert 44 (self.host, self.reason, self.cert)) 101 def _get_valid_hosts_for_cert(self, cert): 105 cert: A dictionary representing an SSL certificate. 109 if 'subjectAltName' in cert [all...] |
/external/wpa_supplicant_8/src/crypto/ |
tls_openssl.c | 182 const CERT_CONTEXT *cert; member in struct:cryptoapi_rsa_data 305 if (priv->cert) 306 CertFreeCertificateContext(priv->cert); 333 if (strncmp(name, "cert://", 7) == 0) { 368 X509 *cert = NULL; local 374 (strncmp(name, "cert://", 7) != 0 && 388 priv->cert = cryptoapi_find_cert(name, CERT_SYSTEM_STORE_CURRENT_USER); 389 if (priv->cert == NULL) { 390 priv->cert = cryptoapi_find_cert( 393 if (priv->cert == NULL) 470 X509 *cert; local 1326 struct wpabuf *cert = NULL; local 1349 struct wpabuf *cert = NULL; local 1436 struct wpabuf *cert; local 1608 X509 *cert = d2i_X509(NULL, (OPENSSL_d2i_TYPE) &ca_cert_blob, local 1931 X509 *cert; local 2063 X509 *cert; member in struct:__anon37300 2090 X509 *cert; local 2117 X509 *cert; local 3057 X509 *cert; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
nssidentity.cc | 41 #include "cert.h" 102 NSSCertificate::NSSCertificate(CERTCertificate* cert) 103 : certificate_(CERT_DupCertificate(cert)) { 107 static void DeleteCert(SSLCertificate* cert) { 108 delete cert; 112 // Copy the first cert into certificate_. 114 certificate_ = CERT_DupCertificate(node->cert); 120 certs.push_back(new NSSCertificate(node->cert)); 131 NSSCertificate::NSSCertificate(CERTCertificate* cert, SSLCertChain* chain) 132 : certificate_(CERT_DupCertificate(cert)) { 148 CERTCertificate *cert = CERT_NewTempCertificate(CERT_GetDefaultCertDB(), local [all...] |
/external/chromium_org/third_party/webrtc/base/ |
nssidentity.cc | 23 #include "cert.h" 84 NSSCertificate::NSSCertificate(CERTCertificate* cert) 85 : certificate_(CERT_DupCertificate(cert)) { 89 static void DeleteCert(SSLCertificate* cert) { 90 delete cert; 94 // Copy the first cert into certificate_. 96 certificate_ = CERT_DupCertificate(node->cert); 102 certs.push_back(new NSSCertificate(node->cert)); 113 NSSCertificate::NSSCertificate(CERTCertificate* cert, SSLCertChain* chain) 114 : certificate_(CERT_DupCertificate(cert)) { 130 CERTCertificate *cert = CERT_NewTempCertificate(CERT_GetDefaultCertDB(), local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
AttributeCertificateIssuer.java | 5 import java.security.cert.CertSelector; 6 import java.security.cert.Certificate; 7 import java.security.cert.X509Certificate; 24 * @deprecated use org.bouncycastle.cert.AttributeCertificateIssuer 141 public boolean match(Certificate cert) 143 if (!(cert instanceof X509Certificate)) 148 X509Certificate x509Cert = (X509Certificate)cert;
|
/external/chromium_org/net/ssl/ |
client_cert_store_win.cc | 18 #include "net/cert/x509_util.h" 132 scoped_refptr<X509Certificate> cert = X509Certificate::CreateFromHandle( local 134 selected_certs->push_back(cert); 185 PCCERT_CONTEXT cert = NULL; local 188 CERT_STORE_ADD_NEW, &cert)) { 195 if (!CertSetCertificateContextProperty(cert, 202 if (!CertFreeCertificateContext(cert))
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
v3_akey.c | 106 * issuer: use the issuers cert issuer and serial number. The default is 123 X509 *cert; local 157 cert = ctx->issuer_cert; 161 i = X509_get_ext_by_NID(cert, NID_subject_key_identifier, -1); 162 if((i >= 0) && (ext = X509_get_ext(cert, i))) 173 isname = X509_NAME_dup(X509_get_issuer_name(cert)); 174 serial = M_ASN1_INTEGER_dup(X509_get_serialNumber(cert));
|
/external/openssl/crypto/x509v3/ |
v3_akey.c | 106 * issuer: use the issuers cert issuer and serial number. The default is 123 X509 *cert; local 157 cert = ctx->issuer_cert; 161 i = X509_get_ext_by_NID(cert, NID_subject_key_identifier, -1); 162 if((i >= 0) && (ext = X509_get_ext(cert, i))) 173 isname = X509_NAME_dup(X509_get_issuer_name(cert)); 174 serial = M_ASN1_INTEGER_dup(X509_get_serialNumber(cert));
|
/frameworks/base/core/java/android/content/pm/ |
Signature.java | 27 import java.security.cert.Certificate; 28 import java.security.cert.CertificateEncodingException; 29 import java.security.cert.CertificateException; 30 import java.security.cert.CertificateFactory; 174 final Certificate cert = certFactory.generateCertificate(bais); local 175 return cert.getPublicKey();
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
mySSLSession.java | 4 import java.security.cert.Certificate; 5 import java.security.cert.CertificateEncodingException; 14 import javax.security.cert.CertificateException; 15 import javax.security.cert.X509Certificate; 49 for (Certificate cert : xc) { 50 xCerts[i++] = X509Certificate.getInstance(cert.getEncoded());
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
LDAPCertStoreParametersTest.java | 22 package org.apache.harmony.security.tests.java.security.cert; 24 import java.security.cert.CertStoreParameters; 25 import java.security.cert.LDAPCertStoreParameters; 30 * Tests for <code>java.security.cert.LDAPCertStoreParameters</code>
|