Home
last modified time | relevance | path

Searched refs:x509 (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/external/google-tv-pairing-protocol/cpp/tests/polo/util/
Dcertificateutiltest.cc41 X509* x509 = CertificateUtil::X509FromPEM(pem); in TEST() local
43 if (!x509) { in TEST()
47 ASSERT_TRUE(x509); in TEST()
48 X509_free(x509); in TEST()
53 X509* x509 = X509_new(); in TEST() local
78 X509_set_version(x509, 2); in TEST()
79 ASN1_INTEGER_set(X509_get_serialNumber(x509), 0); in TEST()
80 ASN1_TIME_set(X509_get_notBefore(x509), 0); in TEST()
81 ASN1_TIME_set(X509_get_notAfter(x509), 60*60*24*365); in TEST()
82 X509_set_pubkey(x509, pkey); in TEST()
[all …]
/external/google-tv-pairing-protocol/cpp/src/polo/util/
Dcertificateutil.cc26 X509* x509 = PEM_read_bio_X509(bio, NULL, 0, NULL); in X509FromPEM() local
30 if (X509_cmp_current_time(X509_get_notBefore(x509)) > 0 in X509FromPEM()
31 || X509_cmp_current_time(X509_get_notAfter(x509)) < 0) { in X509FromPEM()
33 X509_free(x509); in X509FromPEM()
37 return x509; in X509FromPEM()
40 std::string CertificateUtil::X509ToPEM(X509* x509) { in X509ToPEM() argument
42 PEM_write_bio_X509(bio, x509); in X509ToPEM()
89 X509* x509 = X509_new(); in GenerateSelfSignedCert() local
90 X509_set_version(x509, 2); in GenerateSelfSignedCert()
91 ASN1_INTEGER_set(X509_get_serialNumber(x509), 0); in GenerateSelfSignedCert()
[all …]
/external/chromium_org/third_party/webrtc/base/
Dopensslidentity.cc74 X509* x509 = NULL; in MakeCertificate() local
78 if ((x509=X509_new()) == NULL) in MakeCertificate()
81 if (!X509_set_pubkey(x509, pkey)) in MakeCertificate()
89 (asn1_serial_number = X509_get_serialNumber(x509)) == NULL || in MakeCertificate()
93 if (!X509_set_version(x509, 0L)) // version 1 in MakeCertificate()
107 !X509_set_subject_name(x509, name) || in MakeCertificate()
108 !X509_set_issuer_name(x509, name)) in MakeCertificate()
111 if (!X509_gmtime_adj(X509_get_notBefore(x509), params.not_before) || in MakeCertificate()
112 !X509_gmtime_adj(X509_get_notAfter(x509), params.not_after)) in MakeCertificate()
115 if (!X509_sign(x509, pkey, EVP_sha1())) in MakeCertificate()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
DCertificateTest.java22 package org.apache.harmony.security.tests.x509;
37 import org.apache.harmony.security.x509.AlgorithmIdentifier;
38 import org.apache.harmony.security.x509.Certificate;
39 import org.apache.harmony.security.x509.EDIPartyName;
40 import org.apache.harmony.security.x509.Extension;
41 import org.apache.harmony.security.x509.Extensions;
42 import org.apache.harmony.security.x509.GeneralName;
43 import org.apache.harmony.security.x509.GeneralNames;
44 import org.apache.harmony.security.x509.NameConstraints;
45 import org.apache.harmony.security.x509.ORAddress;
[all …]
/external/sepolicy/
Dkeys.conf12 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/platform.x509.pem
15 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/media.x509.pem
18 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/shared.x509.pem
22 ENG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
23 USER : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
24 USERDEBUG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/
DTimeStampRespTest.java18 package org.apache.harmony.security.tests.x509.tsp;
34 import org.apache.harmony.security.x509.AlgorithmIdentifier;
35 import org.apache.harmony.security.x509.Extension;
36 import org.apache.harmony.security.x509.Extensions;
37 import org.apache.harmony.security.x509.GeneralName;
38 import org.apache.harmony.security.x509.tsp.MessageImprint;
39 import org.apache.harmony.security.x509.tsp.PKIFailureInfo;
40 import org.apache.harmony.security.x509.tsp.PKIStatus;
41 import org.apache.harmony.security.x509.tsp.PKIStatusInfo;
42 import org.apache.harmony.security.x509.tsp.TSTInfo;
[all …]
DTSTInfoTest.java18 package org.apache.harmony.security.tests.x509.tsp;
28 import org.apache.harmony.security.x509.AlgorithmIdentifier;
29 import org.apache.harmony.security.x509.Extension;
30 import org.apache.harmony.security.x509.Extensions;
31 import org.apache.harmony.security.x509.GeneralName;
32 import org.apache.harmony.security.x509.tsp.MessageImprint;
33 import org.apache.harmony.security.x509.tsp.TSTInfo;
/external/chromium_org/third_party/boringssl/
Dboringssl.gypi198 'src/crypto/x509/a_digest.c',
199 'src/crypto/x509/a_sign.c',
200 'src/crypto/x509/a_strex.c',
201 'src/crypto/x509/a_verify.c',
202 'src/crypto/x509/asn1_gen.c',
203 'src/crypto/x509/by_dir.c',
204 'src/crypto/x509/by_file.c',
205 'src/crypto/x509/i2d_pr.c',
206 'src/crypto/x509/pkcs7.c',
207 'src/crypto/x509/t_crl.c',
[all …]
Dboringssl.target.linux-arm64.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
Dboringssl.target.darwin-mips64.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
Dboringssl.target.linux-x86.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
Dboringssl.target.linux-arm.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
Dboringssl.target.darwin-arm64.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
Dboringssl.target.linux-mips64.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
Dboringssl.target.darwin-mips.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
Dboringssl.target.darwin-x86.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
Dboringssl.target.linux-mips.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
Dboringssl.target.darwin-arm.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
Dboringssl.target.darwin-x86_64.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
Dboringssl.target.linux-x86_64.mk213 third_party/boringssl/src/crypto/x509/a_digest.c \
214 third_party/boringssl/src/crypto/x509/a_sign.c \
215 third_party/boringssl/src/crypto/x509/a_strex.c \
216 third_party/boringssl/src/crypto/x509/a_verify.c \
217 third_party/boringssl/src/crypto/x509/asn1_gen.c \
218 third_party/boringssl/src/crypto/x509/by_dir.c \
219 third_party/boringssl/src/crypto/x509/by_file.c \
220 third_party/boringssl/src/crypto/x509/i2d_pr.c \
221 third_party/boringssl/src/crypto/x509/pkcs7.c \
222 third_party/boringssl/src/crypto/x509/t_crl.c \
[all …]
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/
DCsrUtil.java3 import org.bouncycastle.asn1.x509.AuthorityKeyIdentifier;
4 import org.bouncycastle.asn1.x509.BasicConstraints;
5 import org.bouncycastle.asn1.x509.ExtendedKeyUsage;
6 import org.bouncycastle.asn1.x509.GeneralName;
7 import org.bouncycastle.asn1.x509.GeneralNames;
8 import org.bouncycastle.asn1.x509.KeyPurposeId;
9 import org.bouncycastle.asn1.x509.KeyUsage;
10 import org.bouncycastle.asn1.x509.X509Extensions;
11 import org.bouncycastle.asn1.x509.X509Name;
12 import org.bouncycastle.x509.X509V3CertificateGenerator;
[all …]
DSslUtil.java21 import org.bouncycastle.asn1.x509.AuthorityKeyIdentifier;
22 import org.bouncycastle.asn1.x509.BasicConstraints;
23 import org.bouncycastle.asn1.x509.ExtendedKeyUsage;
24 import org.bouncycastle.asn1.x509.GeneralName;
25 import org.bouncycastle.asn1.x509.GeneralNames;
26 import org.bouncycastle.asn1.x509.KeyPurposeId;
27 import org.bouncycastle.asn1.x509.KeyUsage;
28 import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
29 import org.bouncycastle.asn1.x509.X509Extensions;
30 import org.bouncycastle.asn1.x509.X509Name;
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/x509/
Dpkcs7.c81 X509 *x509; in PKCS7_get_certificates() local
89 x509 = d2i_X509(NULL, &inp, CBS_len(&cert)); in PKCS7_get_certificates()
90 if (!x509) { in PKCS7_get_certificates()
99 sk_X509_push(out_certs, x509); in PKCS7_get_certificates()
111 X509 *x509 = sk_X509_pop(out_certs); in PKCS7_get_certificates() local
112 X509_free(x509); in PKCS7_get_certificates()
142 X509 *x509 = sk_X509_value(certs, i); in PKCS7_bundle_certificates() local
144 int len = i2d_X509(x509, NULL); in PKCS7_bundle_certificates()
148 i2d_X509(x509, &buf) < 0) { in PKCS7_bundle_certificates()
/external/chromium_org/third_party/tlslite/tlslite/
Dx509certchain.py9 from .x509 import X509
41 x509 = X509()
42 x509.parseBinary(b)
43 x509List.append(x509)
83 for x509 in self.x509List[::-1]:
84 tlsCert = TlsCertificate(x509.bytes)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java1 package org.bouncycastle.x509.extension;
12 import org.bouncycastle.asn1.x509.AuthorityKeyIdentifier;
13 import org.bouncycastle.asn1.x509.Extension;
14 import org.bouncycastle.asn1.x509.GeneralName;
15 import org.bouncycastle.asn1.x509.GeneralNames;
16 import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
17 import org.bouncycastle.asn1.x509.X509Extension;
18 import org.bouncycastle.asn1.x509.X509Extensions;

12345678910>>...16