HomeSort by relevance Sort by last modified time
    Searched refs:cert (Results 251 - 275 of 832) sorted by null

<<11121314151617181920>>

  /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"));
LDAPCertStoreParametersTest.java 23 package tests.security.cert;
27 import java.security.cert.CertStoreParameters;
28 import java.security.cert.LDAPCertStoreParameters;
31 * Tests for <code>java.security.cert.LDAPCertStoreParameters</code>
  /tools/motodev/src/plugins/preflighting.checkers/src/com/motorolamobility/preflighting/checkers/androidmarketfilters/
CertificateExpiredCondition.java 18 import java.security.cert.Certificate;
19 import java.security.cert.CertificateExpiredException;
20 import java.security.cert.CertificateNotYetValidException;
21 import java.security.cert.X509Certificate;
62 for (Certificate cert : certList)
64 if (cert instanceof X509Certificate)
66 X509Certificate x509Cert = (X509Certificate) cert;
  /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)
1655 TestCert cert = new TestCert(sans_1); local
2331 TestCert cert; local
2447 TestCert cert; local
2564 TestCert cert; local
2723 TestCert cert = new TestCert("certificate equality criteria"); local
2789 TestCert cert = new TestCert("certificate equality criteria"); local
2831 TestCert cert = new TestCert(); local
2884 TestCert cert = new TestCert("certificate equality criteria"); local
    [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);
161 struct x509_certificate *cert; local
190 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;
107 for (X509Certificate cert : mCaCerts) {
108 certs.add(cert.getEncoded());
125 for (byte[] cert : certs) {
126 parseCert(cert);
141 X509Certificate cert = (X509Certificate local
346 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) {
228 String subjectPrincipal = cert.getSubjectX500Principal().toString();
258 * @param cert X509Certificate
261 public static String[] getDNSSubjectAlts(X509Certificate cert) {
    [all...]
  /frameworks/base/services/java/com/android/server/updates/
ConfigUpdateInstallReceiver.java 37 import java.security.cert.Certificate;
38 import java.security.cert.CertificateException;
39 import java.security.cert.CertificateFactory;
40 import java.security.cert.X509Certificate;
78 X509Certificate cert = getCert(context.getContentResolver()); local
97 cert)) {
120 // get the cert from settings
121 String cert = Settings.Secure.getString(cr, UPDATE_CERTIFICATE_KEY); local
124 byte[] derCert = Base64.decode(cert.getBytes(), Base64.DEFAULT);
217 String signature, X509Certificate cert) throws Exception
    [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/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
CMSUtils.java 9 import java.security.cert.CRLException;
10 import java.security.cert.CertStore;
11 import java.security.cert.CertStoreException;
12 import java.security.cert.CertificateEncodingException;
13 import java.security.cert.X509CRL;
14 import java.security.cert.X509Certificate;
34 import org.bouncycastle.cert.X509AttributeCertificateHolder;
35 import org.bouncycastle.cert.X509CRLHolder;
36 import org.bouncycastle.cert.X509CertificateHolder;
226 X509Certificate cert)
    [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/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/wpa_supplicant_6/wpa_supplicant/src/tls/
tlsv1_client_write.c 31 struct x509_certificate *cert; local
36 cert = conn->cred->cert;
37 while (cert) {
38 len += 3 + cert->cert_len;
39 if (x509_certificate_self_signed(cert))
41 cert = x509_certificate_get_subject(conn->cred->trusted_certs,
42 &cert->issuer);
137 struct x509_certificate *cert; local
158 cert = conn->cred ? conn->cred->cert : NULL
    [all...]
tlsv1_server_write.c 31 struct x509_certificate *cert; local
33 cert = conn->cred->cert;
34 while (cert) {
35 len += 3 + cert->cert_len;
36 if (x509_certificate_self_signed(cert))
38 cert = x509_certificate_get_subject(conn->cred->trusted_certs,
39 &cert->issuer);
164 struct x509_certificate *cert; local
193 cert = conn->cred->cert
    [all...]
  /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>
X509CRLEntryTest.java 22 package org.apache.harmony.security.tests.java.security.cert;
25 import java.security.cert.CRLException;
26 import java.security.cert.X509CRLEntry;
CollectionCertStoreParametersTest.java 22 package org.apache.harmony.security.tests.java.security.cert;
24 import java.security.cert.CertStoreParameters;
25 import java.security.cert.CollectionCertStoreParameters;
29 import org.apache.harmony.security.tests.support.cert.MyCertificate;
  /external/chromium/net/base/
x509_cert_types.h 105 Judgment Check(X509Certificate* cert) const;
108 void Allow(X509Certificate* cert);
111 void Deny(X509Certificate* cert);
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/
X509CRLEntryImpl.java 23 package org.apache.harmony.security.provider.cert;
26 import java.security.cert.CRLException;
27 import java.security.cert.X509CRLEntry;
44 * @see org.apache.harmony.security.provider.cert.X509CRLImpl
45 * @see java.security.cert.X509CRLEntry
74 // ------ java.security.cert.X509CRLEntry method implementations -------
78 * @see java.security.cert.X509CRLEntry#getEncoded()
91 * @see java.security.cert.X509CRLEntry#getSerialNumber()
99 * @see java.security.cert.X509CRLEntry#getCertificateIssuer()
107 * @see java.security.cert.X509CRLEntry#getRevocationDate(
    [all...]
X509CertPathImpl.java 23 package org.apache.harmony.security.provider.cert;
27 import java.security.cert.CertPath;
28 import java.security.cert.CertificateEncodingException;
29 import java.security.cert.CertificateException;
30 import java.security.cert.X509Certificate;
106 Object cert = certs.get(i); local
107 if (!(cert instanceof X509Certificate) ) {
111 certificates.add(cert);
180 for (Certificate cert : certs) {
181 result.add(new X509CertImpl(cert));
    [all...]

Completed in 7743 milliseconds

<<11121314151617181920>>