Home
last modified time | relevance | path

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

12345678910>>...12

/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/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 …]
DCertificateListTest.java22 package org.apache.harmony.security.tests.x509;
43 import org.apache.harmony.security.x509.AlgorithmIdentifier;
44 import org.apache.harmony.security.x509.CertificateList;
45 import org.apache.harmony.security.x509.Extension;
46 import org.apache.harmony.security.x509.Extensions;
47 import org.apache.harmony.security.x509.GeneralName;
48 import org.apache.harmony.security.x509.GeneralNames;
49 import org.apache.harmony.security.x509.TBSCertList;
DGeneralNameTest.java22 package org.apache.harmony.security.tests.x509;
29 import org.apache.harmony.security.x509.EDIPartyName;
30 import org.apache.harmony.security.x509.GeneralName;
31 import org.apache.harmony.security.x509.GeneralNames;
32 import org.apache.harmony.security.x509.ORAddress;
33 import org.apache.harmony.security.x509.OtherName;
DORAddressTest.java22 package org.apache.harmony.security.tests.x509;
24 import org.apache.harmony.security.x509.GeneralName;
25 import org.apache.harmony.security.x509.GeneralNames;
26 import org.apache.harmony.security.x509.ORAddress;
/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;
DTimeStampReqTest.java18 package org.apache.harmony.security.tests.x509.tsp;
26 import org.apache.harmony.security.x509.AlgorithmIdentifier;
27 import org.apache.harmony.security.x509.Extension;
28 import org.apache.harmony.security.x509.Extensions;
29 import org.apache.harmony.security.x509.tsp.MessageImprint;
30 import org.apache.harmony.security.x509.tsp.TimeStampReq;
DPKIStatusInfoTest.java18 package org.apache.harmony.security.tests.x509.tsp;
24 import org.apache.harmony.security.x509.tsp.PKIFailureInfo;
25 import org.apache.harmony.security.x509.tsp.PKIStatus;
26 import org.apache.harmony.security.x509.tsp.PKIStatusInfo;
/external/boringssl/
Dsources.mk202 src/crypto/x509/a_digest.c\
203 src/crypto/x509/a_sign.c\
204 src/crypto/x509/a_strex.c\
205 src/crypto/x509/a_verify.c\
206 src/crypto/x509/asn1_gen.c\
207 src/crypto/x509/by_dir.c\
208 src/crypto/x509/by_file.c\
209 src/crypto/x509/i2d_pr.c\
210 src/crypto/x509/pkcs7.c\
211 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.SubjectKeyIdentifier;
11 import org.bouncycastle.asn1.x509.X509Extensions;
12 import org.bouncycastle.asn1.x509.X509Name;
[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.SubjectKeyIdentifier;
29 import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
30 import org.bouncycastle.asn1.x509.X509Extensions;
[all …]
/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;
/external/boringssl/src/crypto/x509/
Dpkcs7.c113 X509 *x509; in PKCS7_get_certificates() local
121 x509 = d2i_X509(NULL, &inp, CBS_len(&cert)); in PKCS7_get_certificates()
122 if (!x509) { in PKCS7_get_certificates()
128 if (sk_X509_push(out_certs, x509) == 0) { in PKCS7_get_certificates()
129 X509_free(x509); in PKCS7_get_certificates()
143 X509 *x509 = sk_X509_pop(out_certs); in PKCS7_get_certificates() local
144 X509_free(x509); in PKCS7_get_certificates()
304 X509 *x509 = sk_X509_value(certs, i); in pkcs7_bundle_certificates_cb() local
306 int len = i2d_X509(x509, NULL); in pkcs7_bundle_certificates_cb()
310 i2d_X509(x509, &buf) < 0) { in pkcs7_bundle_certificates_cb()
Dx509_lu.c171 ret=X509_subject_name_cmp((*a)->data.x509,(*b)->data.x509); in x509_object_cmp()
218 X509_free(a->data.x509); in cleanup()
352 obj->data.x509=x; in X509_STORE_add_cert()
410 X509_up_ref(a->data.x509); in X509_OBJECT_up_ref_count()
423 X509_free(a->data.x509); in X509_OBJECT_free_contents()
445 stmp.data.x509= &x509_s; in x509_object_idx_cnt()
528 x = obj->data.x509; in STACK_OF()
605 if (!X509_cmp(obj->data.x509, x->data.x509)) in X509_OBJECT_retrieve_match()
656 if (ctx->check_issued(ctx, x, obj.data.x509)) in X509_STORE_CTX_get1_issuer()
658 *issuer = obj.data.x509; in X509_STORE_CTX_get1_issuer()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DCertUtils.java22 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
23 import org.bouncycastle.asn1.x509.AttributeCertificate;
24 import org.bouncycastle.asn1.x509.AttributeCertificateInfo;
25 import org.bouncycastle.asn1.x509.Certificate;
26 import org.bouncycastle.asn1.x509.CertificateList;
27 import org.bouncycastle.asn1.x509.Extensions;
28 import org.bouncycastle.asn1.x509.ExtensionsGenerator;
29 import org.bouncycastle.asn1.x509.TBSCertList;
30 import org.bouncycastle.asn1.x509.TBSCertificate;
DX509CRLHolder.java18 import org.bouncycastle.asn1.x509.CertificateList;
19 import org.bouncycastle.asn1.x509.Extension;
20 import org.bouncycastle.asn1.x509.Extensions;
21 import org.bouncycastle.asn1.x509.GeneralName;
22 import org.bouncycastle.asn1.x509.GeneralNames;
23 import org.bouncycastle.asn1.x509.IssuingDistributionPoint;
24 import org.bouncycastle.asn1.x509.TBSCertList;
DX509AttributeCertificateHolder.java15 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
16 import org.bouncycastle.asn1.x509.AttCertValidityPeriod;
17 import org.bouncycastle.asn1.x509.Attribute;
18 import org.bouncycastle.asn1.x509.AttributeCertificate;
19 import org.bouncycastle.asn1.x509.AttributeCertificateInfo;
20 import org.bouncycastle.asn1.x509.Extension;
21 import org.bouncycastle.asn1.x509.Extensions;
DX509CertificateHolder.java14 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
15 import org.bouncycastle.asn1.x509.Certificate;
16 import org.bouncycastle.asn1.x509.Extension;
17 import org.bouncycastle.asn1.x509.Extensions;
18 import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
19 import org.bouncycastle.asn1.x509.TBSCertificate;
/external/bouncycastle/
Dbouncycastle.config20 org/bouncycastle/asn1/x509/qualified \
21 org/bouncycastle/asn1/x509/sigi \
48 org/bouncycastle/x509/examples \
112 org/bouncycastle/asn1/isismtt/x509/AdditionalInformationSyntax.java \
113 org/bouncycastle/asn1/isismtt/x509/AdmissionSyntax.java \
114 org/bouncycastle/asn1/isismtt/x509/Admissions.java \
115 org/bouncycastle/asn1/isismtt/x509/DeclarationOfMajority.java \
116 org/bouncycastle/asn1/isismtt/x509/MonetaryLimit.java \
117 org/bouncycastle/asn1/isismtt/x509/NamingAuthority.java \
118 org/bouncycastle/asn1/isismtt/x509/ProcurationSyntax.java \
[all …]
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c469 X509 *x509 = NULL; local
499 if (info->x509) {
500 X509_STORE_add_cert(cert_ctx, info->x509);
530 x509 = mem2x509(cert);
531 if (x509 == NULL)
537 X509_STORE_CTX_init(csc, cert_ctx, x509, NULL);
556 if (x509 != NULL)
557 X509_free(x509);
653 X509 *x509 = NULL; local
660 x509 = mem2x509(cert);
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509V3CertificateGenerator.java1 package org.bouncycastle.x509;
28 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
29 import org.bouncycastle.asn1.x509.Certificate;
30 import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
31 import org.bouncycastle.asn1.x509.TBSCertificate;
32 import org.bouncycastle.asn1.x509.Time;
33 import org.bouncycastle.asn1.x509.V3TBSCertificateGenerator;
34 import org.bouncycastle.asn1.x509.X509ExtensionsGenerator;
35 import org.bouncycastle.asn1.x509.X509Name;
38 import org.bouncycastle.x509.extension.X509ExtensionUtil;
DX509V1CertificateGenerator.java1 package org.bouncycastle.x509;
29 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
30 import org.bouncycastle.asn1.x509.Certificate;
31 import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
32 import org.bouncycastle.asn1.x509.TBSCertificate;
33 import org.bouncycastle.asn1.x509.Time;
34 import org.bouncycastle.asn1.x509.V1TBSCertificateGenerator;
35 import org.bouncycastle.asn1.x509.X509Name;

12345678910>>...12