HomeSort by relevance Sort by last modified time
    Searched refs:X509 (Results 26 - 50 of 240) sorted by null

12 3 4 5 6 7 8 910

  /external/chromium_org/third_party/boringssl/src/crypto/x509/
x509_set.c 61 #include <openssl/x509.h>
64 int X509_set_version(X509 *x, long version)
75 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial)
93 int X509_set_issuer_name(X509 *x, X509_NAME *name)
99 int X509_set_subject_name(X509 *x, X509_NAME *name)
105 int X509_set_notBefore(X509 *x, const ASN1_TIME *tm)
123 int X509_set_notAfter(X509 *x, const ASN1_TIME *tm)
141 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey)
x509_ext.c 1 /* crypto/x509/x509_ext.c */
62 #include <openssl/x509.h>
112 int X509_get_ext_count(X509 *x)
117 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos)
122 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos)
127 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos)
132 X509_EXTENSION *X509_get_ext(X509 *x, int loc)
137 X509_EXTENSION *X509_delete_ext(X509 *x, int loc)
142 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc)
147 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx
    [all...]
x509_vfy.c 66 #include <openssl/x509.h>
110 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
111 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x);
120 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer,
122 X509_CRL *crl, X509 *x);
124 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x);
128 X509 **pissuer, int *pcrl_score)
    [all...]
pkcs7.c 15 #include <openssl/x509.h>
25 int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs) {
51 OPENSSL_PUT_ERROR(X509, PKCS7_get_certificates,
67 OPENSSL_PUT_ERROR(X509, PKCS7_get_certificates,
74 OPENSSL_PUT_ERROR(X509, PKCS7_get_certificates,
81 X509 *x509; local
89 x509 = d2i_X509(NULL, &inp, CBS_len(&cert));
90 if (!x509) {
99 sk_X509_push(out_certs, x509);
111 X509 *x509 = sk_X509_pop(out_certs); local
142 X509 *x509 = sk_X509_value(certs, i); local
    [all...]
by_file.c 1 /* crypto/x509/by_file.c */
62 #include <openssl/x509.h>
109 OPENSSL_PUT_ERROR(X509, by_file_ctrl, X509_R_LOADING_DEFAULTS);
130 X509 *x=NULL;
137 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, ERR_R_SYS_LIB);
156 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, ERR_R_PEM_LIB);
173 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, ERR_R_ASN1_LIB);
182 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, X509_R_BAD_X509_FILETYPE);
203 OPENSSL_PUT_ERROR(X509, X509_load_crl_file, ERR_R_SYS_LIB);
222 OPENSSL_PUT_ERROR(X509, X509_load_crl_file, ERR_R_PEM_LIB)
    [all...]
x509_r2x.c 64 #include <openssl/x509.h>
67 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey)
69 X509 *ret=NULL;
75 OPENSSL_PUT_ERROR(X509, X509_REQ_to_X509, ERR_R_MALLOC_FAILURE);
asn1_gen.c 57 #include <openssl/x509.h>
166 OPENSSL_PUT_ERROR(X509, ASN1_generate_v3, ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG);
306 OPENSSL_PUT_ERROR(X509, asn1_cb, ASN1_R_UNKNOWN_TAG);
319 OPENSSL_PUT_ERROR(X509, asn1_cb, ASN1_R_MISSING_VALUE);
332 OPENSSL_PUT_ERROR(X509, asn1_cb, ASN1_R_ILLEGAL_NESTED_TAGGING);
378 OPENSSL_PUT_ERROR(X509, asn1_cb, ASN1_R_UNKOWN_FORMAT);
402 OPENSSL_PUT_ERROR(X509, parse_tagging, ASN1_R_INVALID_NUMBER);
435 OPENSSL_PUT_ERROR(X509, parse_tagging, ASN1_R_INVALID_MODIFIER);
521 OPENSSL_PUT_ERROR(X509, append_exp, ASN1_R_ILLEGAL_IMPLICIT_TAG);
527 OPENSSL_PUT_ERROR(X509, append_exp, ASN1_R_DEPTH_EXCEEDED)
    [all...]
x_pubkey.c 63 #include <openssl/x509.h>
101 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_set, X509_R_PUBLIC_KEY_ENCODE_ERROR);
107 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_set, X509_R_METHOD_NOT_SUPPORTED);
113 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_set, X509_R_UNSUPPORTED_ALGORITHM);
143 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_get, ERR_R_MALLOC_FAILURE);
149 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_get, X509_R_UNSUPPORTED_ALGORITHM);
157 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_get, X509_R_PUBLIC_KEY_DECODE_ERROR);
163 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_get, X509_R_METHOD_NOT_SUPPORTED);
254 OPENSSL_PUT_ERROR(X509, i2d_RSA_PUBKEY, ERR_R_MALLOC_FAILURE);
293 OPENSSL_PUT_ERROR(X509, i2d_DSA_PUBKEY, ERR_R_MALLOC_FAILURE)
    [all...]
  /external/openssl/crypto/x509/
x509_set.c 1 /* crypto/x509/x509_set.c */
64 #include <openssl/x509.h>
66 int X509_set_version(X509 *x, long version)
77 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial)
95 int X509_set_issuer_name(X509 *x, X509_NAME *name)
101 int X509_set_subject_name(X509 *x, X509_NAME *name)
107 int X509_set_notBefore(X509 *x, const ASN1_TIME *tm)
125 int X509_set_notAfter(X509 *x, const ASN1_TIME *tm)
143 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey)
x509_ext.c 1 /* crypto/x509/x509_ext.c */
65 #include <openssl/x509.h>
115 int X509_get_ext_count(X509 *x)
120 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos)
125 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos)
130 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos)
135 X509_EXTENSION *X509_get_ext(X509 *x, int loc)
140 X509_EXTENSION *X509_delete_ext(X509 *x, int loc)
145 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc)
150 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx
    [all...]
x509_trs.c 68 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags);
69 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags);
70 static int trust_compat(X509_TRUST *trust, X509 *x, int flags);
72 static int obj_trust(int id, X509 *x, int flags);
73 static int (*default_trust)(int id, X509 *x, int flags) = obj_trust;
103 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int)
105 int (*oldtrust)(int , X509 *, int);
112 int X509_check_trust(X509 *x, int id, int flags)
159 int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int)
    [all...]
  /external/chromium_org/third_party/boringssl/src/crypto/x509v3/
v3_purp.c 68 static void x509v3_cache_extensions(X509 *x);
70 static int check_ssl_ca(const X509 *x);
71 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x, int ca);
72 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca);
73 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca);
74 static int purpose_smime(const X509 *x, int ca);
75 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x, int ca);
76 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x, int ca);
77 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x, int ca);
78 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x, int ca)
    [all...]
pcy_int.h 147 X509 *cert;
188 int policy_cache_set_mapping(X509 *x, POLICY_MAPPINGS *maps);
212 const X509_POLICY_CACHE *policy_cache_set(X509 *x);
  /external/openssl/crypto/x509v3/
v3_purp.c 64 static void x509v3_cache_extensions(X509 *x);
66 static int check_ssl_ca(const X509 *x);
67 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x, int ca);
68 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca);
69 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca);
70 static int purpose_smime(const X509 *x, int ca);
71 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x, int ca);
72 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x, int ca);
73 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x, int ca);
74 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x, int ca)
    [all...]
pcy_int.h 147 X509 *cert;
188 int policy_cache_set_mapping(X509 *x, POLICY_MAPPINGS *maps);
212 const X509_POLICY_CACHE *policy_cache_set(X509 *x);
  /external/chromium_org/third_party/boringssl/src/include/openssl/
x509.h 1 /* crypto/x509/x509.h */
264 } /* X509 */;
266 DECLARE_STACK_OF(X509)
267 DECLARE_ASN1_SET_OF(X509)
274 int (*check_trust)(struct x509_trust_st *, X509 *, int);
283 X509 *forward;
284 X509 *reverse;
467 X509 *x509; member in struct:X509_info_st
    [all...]
x509_vfy.h 1 /* crypto/x509/x509_vfy.h */
60 #include <openssl/x509.h>
61 /* openssl/x509.h ends up #include-ing this file at about the only
124 X509 *x509; member in union:x509_object_st::__anon16301
195 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */
196 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */
198 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL *
    [all...]
pkcs8.h 64 #include <openssl/x509.h>
131 STACK_OF(X509) *out_certs,
165 EVP_PKEY **out_pkey, X509 **out_cert,
166 STACK_OF(X509) **out_ca_certs);
  /external/chromium_org/third_party/webrtc/base/
opensslidentity.h 15 #include <openssl/x509.h>
54 // OpenSSLCertificate encapsulates an OpenSSL X509* certificate object,
58 // Caller retains ownership of the X509 object.
59 explicit OpenSSLCertificate(X509* x509) : x509_(x509) {
73 X509* x509() const { return x509_; } function in class:rtc::OpenSSLCertificate
85 // Compute the digest of a certificate as an X509 *
86 static bool ComputeDigest(const X509* x509
    [all...]
  /external/openssl/crypto/cms/
cms.h 58 #include <openssl/x509.h>
141 CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs,
145 X509 *signcert, EVP_PKEY *pkey,
146 STACK_OF(X509) *certs,
168 int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
172 STACK_OF(X509) *certs,
175 STACK_OF(X509) *CMS_get0_signers(CMS_ContentInfo *cms);
177 CMS_ContentInfo *CMS_encrypt(STACK_OF(X509) *certs, BIO *in,
180 int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert
    [all...]
  /external/openssl/include/openssl/
cms.h 58 #include <openssl/x509.h>
141 CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs,
145 X509 *signcert, EVP_PKEY *pkey,
146 STACK_OF(X509) *certs,
168 int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
172 STACK_OF(X509) *certs,
175 STACK_OF(X509) *CMS_get0_signers(CMS_ContentInfo *cms);
177 CMS_ContentInfo *CMS_encrypt(STACK_OF(X509) *certs, BIO *in,
180 int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert
    [all...]
pkcs7.h 115 X509 *cert; /* get the pub-key from this */
125 STACK_OF(X509) *cert; /* [ 0 ] */
153 STACK_OF(X509) *cert; /* [ 0 ] */
310 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
314 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509);
315 int PKCS7_add_crl(PKCS7 *p7, X509_CRL *x509);
320 X509 *x509);
    [all...]
  /external/google-tv-pairing-protocol/cpp/src/polo/util/
certificateutil.cc 24 X509* CertificateUtil::X509FromPEM(std::string pem) {
26 X509* x509 = PEM_read_bio_X509(bio, NULL, 0, NULL); local
30 if (X509_cmp_current_time(X509_get_notBefore(x509)) > 0
31 || X509_cmp_current_time(X509_get_notAfter(x509)) < 0) {
33 X509_free(x509);
37 return x509;
40 std::string CertificateUtil::X509ToPEM(X509* x509) {
42 PEM_write_bio_X509(bio, x509);
89 X509* x509 = X509_new(); local
    [all...]
  /external/openssl/crypto/pkcs12/
p12_kiss.c 66 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
69 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
72 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
80 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
81 STACK_OF(X509) **ca)
83 STACK_OF(X509) *ocerts = NULL;
84 X509 *x = NULL;
180 EVP_PKEY **pkey, STACK_OF(X509) *ocerts)
213 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts)
225 EVP_PKEY **pkey, STACK_OF(X509) *ocerts
228 X509 *x509; local
    [all...]
  /external/openssl/crypto/pkcs7/
pkcs7.h 115 X509 *cert; /* get the pub-key from this */
125 STACK_OF(X509) *cert; /* [ 0 ] */
153 STACK_OF(X509) *cert; /* [ 0 ] */
310 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
314 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509);
315 int PKCS7_add_crl(PKCS7 *p7, X509_CRL *x509);
320 X509 *x509);
    [all...]

Completed in 8582 milliseconds

12 3 4 5 6 7 8 910