Searched refs:X509 (Results 1 - 25 of 131) sorted by relevance

123456

/freebsd-10.1-release/crypto/openssl/crypto/pem/
H A Dpem_x509.c68 IMPLEMENT_PEM_rw(X509, X509, PEM_STRING_X509, X509)
H A Dpem_xaux.c68 IMPLEMENT_PEM_rw(X509_AUX, X509, PEM_STRING_X509_TRUSTED, X509_AUX)
/freebsd-10.1-release/contrib/ldns/ldns/
H A Ddane.h130 ldns_status ldns_dane_cert2rdf(ldns_rdf** rdf, X509* cert,
163 ldns_status ldns_dane_select_certificate(X509** selected_cert,
164 X509* cert, STACK_OF(X509)* extra_certs,
185 X509* cert);
211 X509* cert, STACK_OF(X509)* extra_certs,
236 X509* cert, STACK_OF(X509)* extra_certs,
/freebsd-10.1-release/crypto/openssl/crypto/x509/
H A Dx509_cmp.c67 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b)
81 unsigned long X509_issuer_and_serial_hash(X509 *a)
110 int X509_issuer_name_cmp(const X509 *a, const X509 *b)
115 int X509_subject_name_cmp(const X509 *a, const X509 *b)
132 X509_NAME *X509_get_issuer_name(X509 *a)
137 unsigned long X509_issuer_name_hash(X509 *x)
143 unsigned long X509_issuer_name_hash_old(X509 *
[all...]
H A Dx509.h299 } /* X509 */ ;
301 DECLARE_STACK_OF(X509)
302 DECLARE_ASN1_SET_OF(X509)
309 int (*check_trust) (struct x509_trust_st *, X509 *, int);
318 X509 *forward;
319 X509 *reverse;
496 X509 *x509;
527 STACK_OF(X509) *certs;
630 int X509_verify(X509 *a, EVP_PKEY *r);
646 int X509_sign(X509 *
[all...]
H A Dx509_set.c66 int X509_set_version(X509 *x, long version)
77 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial)
94 int X509_set_issuer_name(X509 *x, X509_NAME *name)
101 int X509_set_subject_name(X509 *x, X509_NAME *name)
108 int X509_set_notBefore(X509 *x, const ASN1_TIME *tm)
125 int X509_set_notAfter(X509 *x, const ASN1_TIME *tm)
142 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey)
H A Dx509_ext.c114 int X509_get_ext_count(X509 *x)
119 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos)
124 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos)
129 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)
155 int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit,
H A Dx509_trs.c67 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags);
68 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags);
69 static int trust_compat(X509_TRUST *trust, X509 *x, int flags);
71 static int obj_trust(int id, X509 *x, int flags);
72 static int (*default_trust) (int id, X509 *x, int flags) = obj_trust;
108 int (*X509_TRUST_set_default(int (*trust) (int, X509 *, int))) (int, X509 *,
110 int (*oldtrust) (int, X509 *, int);
116 int X509_check_trust(X509 *x, int id, int flags)
170 int X509_TRUST_add(int id, int flags, int (*ck) (X509_TRUST *, X509 *, in
[all...]
H A Dx509_vfy.h128 X509 *x509;
196 int (*get_issuer) (X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
198 int (*check_issued) (X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
202 int (*get_crl) (X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x);
206 int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
207 STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
239 X509 *cert;
241 STACK_OF(X509) *untruste
[all...]
H A Dverify_extra_test.c65 static STACK_OF(X509) *load_certs_from_file(const char *filename)
67 STACK_OF(X509) *certs;
69 X509 *x;
137 X509 *x = NULL;
138 STACK_OF(X509) *untrusted = NULL;
H A Dx509_vfy.c112 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
113 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x);
121 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer,
122 unsigned int *preasons, X509_CRL *crl, X509 *x);
124 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x);
128 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl, X509 **pissuer,
130 static int crl_crldp_check(X509 *
[all...]
H A Dx509_r2x.c68 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey)
70 X509 *ret = NULL;
/freebsd-10.1-release/crypto/openssl/crypto/asn1/
H A Dx_x509.c80 /* X509 top level structure needs a bit of customisation */
87 X509 *ret = (X509 *)*pval;
137 ASN1_SEQUENCE_ref(X509, x509_cb, CRYPTO_LOCK_X509) = {
138 ASN1_SIMPLE(X509, cert_info, X509_CINF),
139 ASN1_SIMPLE(X509, sig_alg, X509_ALGOR),
140 ASN1_SIMPLE(X509, signature, ASN1_BIT_STRING)
141 } ASN1_SEQUENCE_END_ref(X509, X509)
143 IMPLEMENT_ASN1_FUNCTIONS(X509)
[all...]
H A Dx_x509a.c68 * modifiable data about a certificate. This data is appended to the X509
70 * "traditional" X509 routines will simply ignore the extra data.
73 static X509_CERT_AUX *aux_get(X509 *x);
85 static X509_CERT_AUX *aux_get(X509 *x)
94 int X509_alias_set1(X509 *x, unsigned char *name, int len)
111 int X509_keyid_set1(X509 *x, unsigned char *id, int len)
128 unsigned char *X509_alias_get0(X509 *x, int *len)
137 unsigned char *X509_keyid_get0(X509 *x, int *len)
146 int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj)
159 int X509_add1_reject_object(X509 *
[all...]
H A Dx_nx509.c69 ASN1_OPT(NETSCAPE_X509, cert, X509)
H A Dnsseq.c81 ASN1_EXP_SEQUENCE_OF_OPT(NETSCAPE_CERT_SEQUENCE, certs, X509, 0)
/freebsd-10.1-release/crypto/openssl/crypto/ocsp/
H A Docsp_vfy.c64 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs,
65 STACK_OF(X509) *certs, X509_STORE *st,
67 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
68 static int ocsp_check_issuer(OCSP_BASICRESP *bs, STACK_OF(X509) *chain,
72 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
74 static int ocsp_check_delegated(X509 *x, int flags);
75 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req,
76 X509_NAME *nm, STACK_OF(X509) *certs,
81 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *cert
[all...]
/freebsd-10.1-release/crypto/openssl/crypto/x509v3/
H A Dv3_purp.c65 static void x509v3_cache_extensions(X509 *x);
67 static int check_ssl_ca(const X509 *x);
68 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
70 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
72 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
74 static int purpose_smime(const X509 *x, int ca);
75 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
77 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
79 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
81 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *
[all...]
H A Dpcy_int.h151 X509 *cert;
194 int policy_cache_set_mapping(X509 *x, POLICY_MAPPINGS *maps);
217 const X509_POLICY_CACHE *policy_cache_set(X509 *x);
/freebsd-10.1-release/crypto/openssl/crypto/cms/
H A Dcms.h141 CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey,
142 STACK_OF(X509) *certs, BIO *data,
146 X509 *signcert, EVP_PKEY *pkey,
147 STACK_OF(X509) *certs, unsigned int flags);
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,
183 int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cer
[all...]
/freebsd-10.1-release/crypto/openssl/crypto/pkcs12/
H A Dp12_kiss.c67 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
70 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
73 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
82 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
83 STACK_OF(X509) **ca)
85 STACK_OF(X509) *ocerts = NULL;
86 X509 *x = NULL;
181 EVP_PKEY **pkey, STACK_OF(X509) *ocerts)
215 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts)
227 EVP_PKEY **pkey, STACK_OF(X509) *ocert
[all...]
H A Dp12_utl.c131 PKCS12_SAFEBAG *PKCS12_x5092certbag(X509 *x509)
133 return PKCS12_item_pack_safebag(x509, ASN1_ITEM_rptr(X509),
143 X509 *PKCS12_certbag2x509(PKCS12_SAFEBAG *bag)
150 ASN1_ITEM_rptr(X509));
/freebsd-10.1-release/crypto/openssl/crypto/pkcs7/
H A Dpkcs7.h111 X509 *cert; /* get the pub-key from this */
120 STACK_OF(X509) *cert; /* [ 0 ] */
146 STACK_OF(X509) *cert; /* [ 0 ] */
294 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
298 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509);
304 X509 *x509);
308 BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert);
310 PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509,
312 X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si);
316 PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7, X509 *x50
[all...]
H A Dpk7_enc.c70 PKCS7_add_signer(PKCS7 *p7, X509 *cert, EVP_PKEY *key);
/freebsd-10.1-release/contrib/ldns/
H A Ddane.c77 ldns_dane_cert2rdf(ldns_rdf** rdf, X509* cert,
166 ldns_dane_pkix_validate(X509* cert, STACK_OF(X509)* extra_certs,
200 ldns_dane_pkix_validate_and_get_chain(STACK_OF(X509)** chain, X509* cert,
201 STACK_OF(X509)* extra_certs, X509_STORE* store)
248 ldns_dane_pkix_get_chain(STACK_OF(X509)** chain,
249 X509* cert, STACK_OF(X509)* extra_certs)
288 X509** cer
[all...]

Completed in 324 milliseconds

123456