HomeSort by relevance Sort by last modified time
    Searched refs:cert (Results 301 - 325 of 1179) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStorePrivateKeyEntryTest.java 26 import java.security.cert.Certificate;
27 import java.security.cert.CertificateFactory;
28 import java.security.cert.X509Certificate;
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
MyCertPath.java 23 package org.apache.harmony.security.tests.support.cert;
26 import java.security.cert.CertPath;
27 import java.security.cert.CertificateEncodingException;
35 * Stub class for <code>java.security.cert.CertPath</code> tests
50 * my cert path the only encoding
69 * @see java.security.cert.CertPath#getCertificates()
76 * @return default encoded form of this cert path
78 * @see java.security.cert.CertPath#getEncoded()
85 * @return encoded form of this cert path as specified by
89 * @see java.security.cert.CertPath#getEncoded(java.lang.String
    [all...]
TestUtils.java 23 package org.apache.harmony.security.tests.support.cert;
34 import java.security.cert.CertPath;
35 import java.security.cert.CertPathBuilder;
36 import java.security.cert.CertPathBuilderException;
37 import java.security.cert.CertPathBuilderResult;
38 import java.security.cert.CertPathParameters;
39 import java.security.cert.CertPathValidatorException;
40 import java.security.cert.CertStore;
41 import java.security.cert.Certificate;
42 import java.security.cert.CertificateException
    [all...]
  /prebuilts/devtools/tools/lib/
bcpkix-jdk15on-1.48.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcpkix-jdk15on/1.48/
bcpkix-jdk15on-1.48.jar 
  /external/conscrypt/src/platform/java/org/conscrypt/
TrustManagerImpl.java 24 import java.security.cert.CertPath;
25 import java.security.cert.CertPathValidator;
26 import java.security.cert.CertPathValidatorException;
27 import java.security.cert.Certificate;
28 import java.security.cert.CertificateException;
29 import java.security.cert.CertificateParsingException;
30 import java.security.cert.CertificateFactory;
31 import java.security.cert.PKIXCertPathChecker;
32 import java.security.cert.PKIXParameters;
33 import java.security.cert.TrustAnchor
181 final X509Certificate cert = (X509Certificate) ks.getCertificate(alias); local
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
CaCertManagementTest.java 22 import java.security.cert.CertificateException;
23 import java.security.cert.CertificateFactory;
24 import java.security.cert.Certificate;
73 Certificate cert = readCertificate(certBuffer); local
74 if (certificateToMatch.equals(cert)) {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertificateTest.java 22 package org.apache.harmony.security.tests.java.security.cert;
28 import java.security.cert.Certificate;
29 import java.security.cert.CertificateEncodingException;
30 import java.security.cert.CertificateException;
32 import org.apache.harmony.security.tests.support.cert.MyCertificate;
41 * Meaningless cert encoding just for testing purposes
PKIXBuilderParametersTest.java 22 package org.apache.harmony.security.tests.java.security.cert;
26 import java.security.cert.PKIXBuilderParameters;
27 import java.security.cert.PKIXParameters;
28 import java.security.cert.X509CertSelector;
32 import org.apache.harmony.security.tests.support.cert.TestUtils;
156 * <code>java.security.cert.TrustAnchor</code>
CertificateFactory3Test.java 22 package org.apache.harmony.security.tests.java.security.cert;
27 import java.security.cert.CertPath;
28 import java.security.cert.Certificate;
29 import java.security.cert.CertificateFactory;
38 import org.apache.harmony.security.tests.support.cert.TestUtils;
54 public static String fileCertPathPki = "java/security/cert/CertPath.PkiPath";
106 Certificate cert = certFs[0] local
115 assertEquals("Incorrect Certificate in Collection", cert, it.next());
127 Certificate cert = certFs[0] local
131 list.add(cert);
    [all...]
CertificateFactorySpiTest.java 22 package org.apache.harmony.security.tests.java.security.cert;
28 import java.security.cert.CRL;
29 import java.security.cert.CRLException;
30 import java.security.cert.Certificate;
31 import java.security.cert.CertificateException;
32 import java.security.cert.CertificateFactorySpi;
37 import org.apache.harmony.security.tests.support.cert.MyCertificateFactorySpi;
157 Certificate cert = certFactorySpi local
159 assertNull("Result must be null", cert);
227 Certificate cert = certFactorySp local
    [all...]
PKIXCertPathBuilderResultTest.java 22 package org.apache.harmony.security.tests.java.security.cert;
26 import java.security.cert.CertPath;
27 import java.security.cert.CertPathBuilderResult;
28 import java.security.cert.PKIXCertPathBuilderResult;
29 import java.security.cert.TrustAnchor;
32 import org.apache.harmony.security.tests.support.cert.MyCertPath;
33 import org.apache.harmony.security.tests.support.cert.TestUtils;
42 * Cert path encoding stub
  /external/chromium_org/net/cert/
ct_objects_extractor_nss.cc 5 #include "net/cert/ct_objects_extractor.h"
7 #include <cert.h>
16 #include "net/cert/asn1_util.h"
17 #include "net/cert/scoped_nss_types.h"
18 #include "net/cert/signed_certificate_timestamp.h"
40 ScopedCERTCertificate cert; member in struct:net::ct::__anon13101::NSSCertWrapper
45 cert.reset(CERT_DupCertificate(cert_handle));
56 // shares a serial number with another cert issued by the same CA,
58 cert.reset(CERT_NewTempCertificate(
61 DCHECK(cert.get() != NULL)
    [all...]
x509_util_openssl_unittest.cc 8 #include "net/cert/x509_util.h"
9 #include "net/cert/x509_util_openssl.h"
25 crypto::ScopedOpenSSL<X509, X509_free> cert(
27 ASSERT_TRUE(cert.get());
39 EXPECT_EQ(1, X509_verify(cert.get(), pub_key.get()));
47 // Origin Bound Cert OID.
56 crypto::ScopedOpenSSL<X509, X509_free> cert(
58 ASSERT_TRUE(cert.get());
61 int ext_pos = X509_get_ext_by_OBJ(cert.get(), oid_obj.get(), -1);
63 X509_EXTENSION* ext = X509_get_ext(cert.get(), ext_pos)
    [all...]
  /external/chromium_org/net/data/ssl/scripts/
generate-policy-certs.sh 32 try openssl genrsa -out out/policy-cert.key 2048
81 -key out/policy-cert.key \
82 -out out/policy-cert.csr \
90 -in out/policy-cert.csr \
91 -out out/policy-cert.pem \
95 try /bin/sh -c "cat out/policy-cert.pem \
  /external/chromium_org/net/ssl/
default_server_bound_cert_store.h 24 // Modeled after the CookieMonster class, it has an in-memory cert store,
57 const std::string& cert) OVERRIDE;
84 // Called by all non-static functions to ensure that the cert store has
114 const std::string& cert);
126 // Deletes the cert for the specified server, if such a cert exists, from the
130 // Takes ownership of *cert.
131 // Adds the cert for the specified server to the in-memory store. Deletes it
134 ServerBoundCert* cert);
136 // Indicates whether the cert store has been initialized. This happen
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/cert/
X509CertSelectorTest.java 17 package libcore.java.security.cert;
22 import java.security.cert.Certificate;
23 import java.security.cert.CertificateFactory;
24 import java.security.cert.X509CertSelector;
25 import java.security.cert.X509Certificate;
  /libcore/luni/src/test/java/tests/security/cert/
CollectionCertStoreParametersTest.java 23 package tests.security.cert;
27 import java.security.cert.CertStoreParameters;
28 import java.security.cert.Certificate;
29 import java.security.cert.CollectionCertStoreParameters;
33 import org.apache.harmony.security.tests.support.cert.MyCertificate;
CertificateFactory3Test.java 23 package tests.security.cert;
28 import org.apache.harmony.security.tests.support.cert.TestUtils;
34 import java.security.cert.CertPath;
35 import java.security.cert.Certificate;
36 import java.security.cert.CertificateFactory;
53 public static String fileCertPathPki = "java/security/cert/CertPath.PkiPath";
105 Certificate cert = certFs[0] local
114 assertEquals("Incorrect Certificate in Collection", cert, it.next());
126 Certificate cert = certFs[0] local
130 list.add(cert);
    [all...]
  /external/chromium_org/net/third_party/nss/ssl/
sslauth.c 4 #include "cert.h"
36 CERTCertificate *cert; local
53 cert = CERT_DupCertificate(ss->sec.peerCert);
54 if (CERT_AddCertToListTail(chain, cert) != SECSuccess) {
58 cert = CERT_DupCertificate(cur->cert);
59 if (CERT_AddCertToListTail(chain, cert) != SECSuccess) {
155 CERTCertificate *cert; local
157 cert = ss->sec.peerCert;
158 if (cert) {
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/
p12_crt.c 79 PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert,
101 if(!pkey && !cert && !ca)
107 if (pkey && cert)
109 if(!X509_check_private_key(cert, pkey))
111 X509_digest(cert, EVP_sha1(), keyid, &keyidlen);
114 if (cert)
116 bag = PKCS12_add_cert(&bags, cert);
187 PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert)
196 if(!(bag = PKCS12_x5092certbag(cert)))
203 name = (char *)X509_alias_get0(cert, &namelen)
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLSessionImpl.java 21 import java.security.cert.Certificate;
22 import java.security.cert.CertificateEncodingException;
23 import java.security.cert.X509Certificate;
31 import javax.security.cert.CertificateException;
46 private volatile javax.security.cert.X509Certificate[] peerCertificateChain;
208 public javax.security.cert.X509Certificate[] getPeerCertificateChain()
211 javax.security.cert.X509Certificate[] result = peerCertificateChain;
223 private javax.security.cert.X509Certificate[] createPeerCertificateChain()
226 javax.security.cert.X509Certificate[] chain
227 = new javax.security.cert.X509Certificate[peerCertificates.length]
    [all...]
  /external/openssl/crypto/pkcs12/
p12_crt.c 79 PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert,
112 if(!pkey && !cert && !ca)
118 if (pkey && cert)
120 if(!X509_check_private_key(cert, pkey))
122 X509_digest(cert, EVP_sha1(), keyid, &keyidlen);
125 if (cert)
127 bag = PKCS12_add_cert(&bags, cert);
198 PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert)
207 if(!(bag = PKCS12_x5092certbag(cert)))
214 name = (char *)X509_alias_get0(cert, &namelen)
    [all...]
  /system/core/fastbootd/other/sign/src/
SignImg.java 20 import java.security.cert.X509Certificate;
21 import java.security.cert.CertificateFactory;
22 import java.security.cert.Certificate;
23 import java.security.cert.CertificateException;
24 import java.security.cert.CertificateEncodingException;
38 import org.bouncycastle.cert.jcajce.JcaCertStore;
95 Certificate cert = cf.generateCertificate(is); local
98 return (X509Certificate) cert;
149 X509Certificate cert = (X509Certificate) readCert(args[2]); local
154 Store certs = certToStore(cert);
    [all...]
  /external/chromium_org/chromeos/
cert_loader.cc 17 #include "net/cert/nss_cert_database.h"
18 #include "net/cert/nss_cert_database_chromeos.h"
19 #include "net/cert/x509_certificate.h"
67 // Start observing cert database for changes.
108 const net::X509Certificate* cert) const {
111 return database_->IsHardwareBacked(cert);
127 std::string CertLoader::GetPkcs11IdForCert(const net::X509Certificate& cert) {
128 CERTCertificateStr* cert_handle = cert.os_cert_handle();
185 void CertLoader::OnCACertChanged(const net::X509Certificate* cert) {
191 void CertLoader::OnCertAdded(const net::X509Certificate* cert) {
    [all...]

Completed in 608 milliseconds

<<11121314151617181920>>