Home
last modified time | relevance | path

Searched refs:X509 (Results 1 – 25 of 590) sorted by relevance

12345678910>>...24

/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/statem/
H A Dstatem_local.h124 __owur int ssl_do_client_cert_cb(SSL *s, X509 **px509, EVP_PKEY **ppkey);
174 RAW_EXTENSION *exts, X509 *x, size_t chainidx);
176 X509 *x, size_t chainidx, int fin);
180 X509 *x, size_t chainidx);
190 X509 *x, size_t chainidx);
192 X509 *x, size_t chainidx);
194 X509 *x, size_t chainidx);
196 int tls_parse_ctos_srp(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
200 X509 *x, size_t chainidx);
203 X509 *x, size_t chainidx);
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/statem/
H A Dstatem_local.h133 __owur int ssl_do_client_cert_cb(SSL *s, X509 **px509, EVP_PKEY **ppkey);
189 RAW_EXTENSION *exts, X509 *x, size_t chainidx);
191 X509 *x, size_t chainidx, int fin);
195 X509 *x, size_t chainidx);
205 X509 *x, size_t chainidx);
207 X509 *x, size_t chainidx);
209 X509 *x, size_t chainidx);
211 int tls_parse_ctos_srp(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
215 X509 *x, size_t chainidx);
217 X509 *x, size_t chainidx);
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dx509.h99 DEFINE_STACK_OF(X509)
106 int (*check_trust) (struct x509_trust_st *, X509 *, int);
246 X509 *x509;
274 STACK_OF(X509) *certs;
350 int X509_verify(X509 *a, EVP_PKEY *r);
367 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
368 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx);
370 int X509_http_nbio(OCSP_REQ_CTX *rctx, X509 **pcert);
381 int X509_pubkey_digest(const X509 *data, const EVP_MD *type,
383 int X509_digest(const X509 *data, const EVP_MD *type,
[all …]
H A Dcms.h103 CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey,
104 STACK_OF(X509) *certs, BIO *data,
108 X509 *signcert, EVP_PKEY *pkey,
109 STACK_OF(X509) *certs, unsigned int flags);
130 int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
134 STACK_OF(X509) *certs,
137 STACK_OF(X509) *CMS_get0_signers(CMS_ContentInfo *cms);
139 CMS_ContentInfo *CMS_encrypt(STACK_OF(X509) *certs, BIO *in,
142 int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert,
145 int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert);
[all …]
H A Dpkcs7.h56 X509 *cert; /* get the pub-key from this */
64 STACK_OF(X509) *cert; /* [ 0 ] */
90 STACK_OF(X509) *cert; /* [ 0 ] */
240 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
244 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509);
250 X509 *x509);
254 BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert);
256 PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509,
258 X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si);
262 PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7, X509 *x509);
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dx509_cmp.c19 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b) in X509_issuer_and_serial_cmp()
37 unsigned long X509_issuer_and_serial_hash(X509 *a) in X509_issuer_and_serial_hash()
75 int X509_issuer_name_cmp(const X509 *a, const X509 *b) in X509_issuer_name_cmp()
80 int X509_subject_name_cmp(const X509 *a, const X509 *b) in X509_subject_name_cmp()
103 X509_NAME *X509_get_issuer_name(const X509 *a) in X509_get_issuer_name()
108 unsigned long X509_issuer_name_hash(X509 *x) in X509_issuer_name_hash()
114 unsigned long X509_issuer_name_hash_old(X509 *x) in X509_issuer_name_hash_old()
120 X509_NAME *X509_get_subject_name(const X509 *a) in X509_get_subject_name()
125 ASN1_INTEGER *X509_get_serialNumber(X509 *a) in X509_get_serialNumber()
130 const ASN1_INTEGER *X509_get0_serialNumber(const X509 *a) in X509_get0_serialNumber()
[all …]
H A Dx_x509.c39 X509 *ret = (X509 *)*pval; in x509_cb()
103 X509 *old = exarg; in x509_cb()
132 ASN1_SEQUENCE_ref(X509, x509_cb) = {
133 ASN1_EMBED(X509, cert_info, X509_CINF),
134 ASN1_EMBED(X509, sig_alg, X509_ALGOR),
135 ASN1_EMBED(X509, signature, ASN1_BIT_STRING)
136 } ASN1_SEQUENCE_END_ref(X509, X509)
138 IMPLEMENT_ASN1_FUNCTIONS(X509)
139 IMPLEMENT_ASN1_DUP_FUNCTION(X509)
146 int ossl_x509_set0_libctx(X509 *x, OSSL_LIB_CTX *libctx, const char *propq)
[all …]
H A Dx509_set.c22 int X509_set_version(X509 *x, long version) in X509_set_version()
38 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial) in X509_set_serialNumber()
50 int X509_set_issuer_name(X509 *x, const X509_NAME *name) in X509_set_issuer_name()
57 int X509_set_subject_name(X509 *x, const X509_NAME *name) in X509_set_subject_name()
78 int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm) in X509_set1_notBefore()
85 int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm) in X509_set1_notAfter()
92 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey) in X509_set_pubkey()
99 int X509_up_ref(X509 *x) in X509_up_ref()
111 long X509_get_version(const X509 *x) in X509_get_version()
116 const ASN1_TIME *X509_get0_notBefore(const X509 *x) in X509_get0_notBefore()
[all …]
H A Dv3_purp.c19 static int check_ssl_ca(const X509 *x);
20 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
22 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
24 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
26 static int purpose_smime(const X509 *x, int require_ca);
27 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
29 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
31 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
33 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x,
35 static int no_check_purpose(const X509_PURPOSE *xp, const X509 *x,
[all …]
H A Dx_x509a.c24 static X509_CERT_AUX *aux_get(X509 *x);
36 int X509_trusted(const X509 *x)
41 static X509_CERT_AUX *aux_get(X509 *x) in aux_get()
50 int X509_alias_set1(X509 *x, const unsigned char *name, int len) in X509_alias_set1()
67 int X509_keyid_set1(X509 *x, const unsigned char *id, int len) in X509_keyid_set1()
85 unsigned char *X509_alias_get0(X509 *x, int *len) in X509_alias_get0()
94 unsigned char *X509_keyid_get0(X509 *x, int *len) in X509_keyid_get0()
103 int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_trust_object()
124 int X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_reject_object()
146 void X509_trust_clear(X509 *x) in X509_trust_clear()
[all …]
H A Dx509_local.h42 int ossl_x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int depth);
127 int (*get_issuer) (X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
129 int (*check_issued) (X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
133 int (*get_crl) (X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x);
137 int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
140 STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx,
158 int ossl_x509_likely_issued(X509 *issuer, X509 *subject);
159 int ossl_x509_signing_allowed(const X509 *issuer, const X509 *subject);
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/x509/
H A Dx509_cmp.c18 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b) in X509_issuer_and_serial_cmp()
32 unsigned long X509_issuer_and_serial_hash(X509 *a) in X509_issuer_and_serial_hash()
64 int X509_issuer_name_cmp(const X509 *a, const X509 *b) in X509_issuer_name_cmp()
69 int X509_subject_name_cmp(const X509 *a, const X509 *b) in X509_subject_name_cmp()
84 X509_NAME *X509_get_issuer_name(const X509 *a) in X509_get_issuer_name()
89 unsigned long X509_issuer_name_hash(X509 *x) in X509_issuer_name_hash()
95 unsigned long X509_issuer_name_hash_old(X509 *x) in X509_issuer_name_hash_old()
101 X509_NAME *X509_get_subject_name(const X509 *a) in X509_get_subject_name()
106 ASN1_INTEGER *X509_get_serialNumber(X509 *a) in X509_get_serialNumber()
111 const ASN1_INTEGER *X509_get0_serialNumber(const X509 *a) in X509_get0_serialNumber()
[all …]
H A Dx_x509.c39 X509 *ret = (X509 *)*pval; in x509_cb()
103 ASN1_SEQUENCE_ref(X509, x509_cb) = {
104 ASN1_EMBED(X509, cert_info, X509_CINF),
105 ASN1_EMBED(X509, sig_alg, X509_ALGOR),
106 ASN1_EMBED(X509, signature, ASN1_BIT_STRING)
107 } ASN1_SEQUENCE_END_ref(X509, X509)
109 IMPLEMENT_ASN1_FUNCTIONS(X509)
111 IMPLEMENT_ASN1_DUP_FUNCTION(X509)
113 int X509_set_ex_data(X509 *r, int idx, void *arg)
118 void *X509_get_ex_data(X509 *r, int idx) in X509_get_ex_data()
[all …]
H A Dx509_set.c22 int X509_set_version(X509 *x, long version) in X509_set_version()
38 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial) in X509_set_serialNumber()
50 int X509_set_issuer_name(X509 *x, X509_NAME *name) in X509_set_issuer_name()
57 int X509_set_subject_name(X509 *x, X509_NAME *name) in X509_set_subject_name()
78 int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm) in X509_set1_notBefore()
85 int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm) in X509_set1_notAfter()
92 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey) in X509_set_pubkey()
99 int X509_up_ref(X509 *x) in X509_up_ref()
111 long X509_get_version(const X509 *x) in X509_get_version()
116 const ASN1_TIME *X509_get0_notBefore(const X509 *x) in X509_get0_notBefore()
[all …]
H A Dx509_local.h39 int x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int depth);
118 int (*get_issuer) (X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
120 int (*check_issued) (X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
124 int (*get_crl) (X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x);
128 int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
131 STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
148 int x509_likely_issued(X509 *issuer, X509 *subject);
149 int x509_signing_allowed(const X509 *issuer, const X509 *subject);
H A Dx_x509a.c24 static X509_CERT_AUX *aux_get(X509 *x);
36 int X509_trusted(const X509 *x)
41 static X509_CERT_AUX *aux_get(X509 *x) in aux_get()
50 int X509_alias_set1(X509 *x, const unsigned char *name, int len) in X509_alias_set1()
67 int X509_keyid_set1(X509 *x, const unsigned char *id, int len) in X509_keyid_set1()
85 unsigned char *X509_alias_get0(X509 *x, int *len) in X509_alias_get0()
94 unsigned char *X509_keyid_get0(X509 *x, int *len) in X509_keyid_get0()
103 int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_trust_object()
124 int X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_reject_object()
141 void X509_trust_clear(X509 *x) in X509_trust_clear()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ocsp/
H A Docsp_vfy.c16 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs,
17 STACK_OF(X509) *certs, unsigned long flags);
18 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
19 static int ocsp_check_issuer(OCSP_BASICRESP *bs, STACK_OF(X509) *chain);
22 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
24 static int ocsp_check_delegated(X509 *x);
25 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req,
26 const X509_NAME *nm, STACK_OF(X509) *certs,
30 static int ocsp_verify_signer(X509 *signer, int response, in ocsp_verify_signer()
32 STACK_OF(X509) *untrusted, STACK_OF(X509) **chain) in ocsp_verify_signer()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ocsp/
H A Docsp_vfy.c15 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs,
16 STACK_OF(X509) *certs, unsigned long flags);
17 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
18 static int ocsp_check_issuer(OCSP_BASICRESP *bs, STACK_OF(X509) *chain);
21 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
23 static int ocsp_check_delegated(X509 *x);
24 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req,
25 X509_NAME *nm, STACK_OF(X509) *certs,
30 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs, in OCSP_basic_verify()
33 X509 *signer, *x; in OCSP_basic_verify()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/x509v3/
H A Dv3_purp.c19 static void x509v3_cache_extensions(X509 *x);
21 static int check_ssl_ca(const X509 *x);
22 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
24 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
26 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
28 static int purpose_smime(const X509 *x, int ca);
29 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
31 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
33 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
35 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x,
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/include/crypto/
H A Dx509.h219 X509 *cert;
221 STACK_OF(X509) *untrusted;
233 int (*get_issuer) (X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
235 int (*check_issued) (X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
239 int (*get_crl) (X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x);
243 int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
246 STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx,
258 STACK_OF(X509) *chain;
266 X509 *current_cert;
268 X509 *current_issuer;
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/cmp/
H A Dcmp_local.h64 X509 *srvCert; /* certificate used to identify the server */
65 X509 *validatedSrvCert; /* caches any already validated server cert */
68 STACK_OF(X509) *untrusted; /* untrusted (intermediate CA) certs */
78 X509 *cert; /* protection cert used to identify and sign for MSG_SIG_ALG */
79 STACK_OF(X509) *chain; /* (cached) chain of protection cert including it */
99 STACK_OF(X509) *extraCertsOut; /* to be included in request messages */
114 X509 *oldCert; /* cert to be updated (via KUR) or to be revoked (via RR) */
125 X509 *newCert; /* newly enrolled cert received from the CA */
126 STACK_OF(X509) *newChain; /* chain of newly enrolled cert received */
127 STACK_OF(X509) *caPubs; /* CA certs received from server (in IP message) */
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dx509.h.in52 .generate_stack_macros("X509")
210 X509 *x509;
239 STACK_OF(X509) *certs;
317 int X509_verify(X509 *a, EVP_PKEY *r);
318 int X509_self_signed(X509 *cert, int verify_signature);
337 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
338 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx);
345 int X509_pubkey_digest(const X509 *data, const EVP_MD *type,
347 int X509_digest(const X509 *data, const EVP_MD *type,
349 ASN1_OCTET_STRING *X509_digest_sig(const X509 *cert,
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DX509_cmp.pod8 - compare X509 certificates and related values
14 int X509_cmp(const X509 *a, const X509 *b);
16 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b);
17 int X509_issuer_name_cmp(const X509 *a, const X509 *b);
18 int X509_subject_name_cmp(const X509 *a, const X509 *b);
24 This set of functions are used to compare X509 objects, including X509
25 certificates, X509 CRL objects and various values in an X509 certificate.
27 The X509_cmp() function compares two B<X509> objects indicated by parameters
29 values of two B<X509> objects and the canonical (DER) encoding values.
37 values in the given B<X509> objects B<a> and B<b>.
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/crypto/
H A Dx509.h199 X509 *cert;
201 STACK_OF(X509) *untrusted;
213 int (*get_issuer) (X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
215 int (*check_issued) (X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
219 int (*get_crl) (X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x);
223 int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
226 STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
235 STACK_OF(X509) *chain;
243 X509 *current_cert;
245 X509 *current_issuer;
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DX509_cmp.pod8 - compare X509 certificates and related values
14 int X509_cmp(const X509 *a, const X509 *b);
16 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b);
17 int X509_issuer_name_cmp(const X509 *a, const X509 *b);
18 int X509_subject_name_cmp(const X509 *a, const X509 *b);
24 This set of functions are used to compare X509 objects, including X509
25 certificates, X509 CRL objects and various values in an X509 certificate.
27 The X509_cmp() function compares two B<X509> objects indicated by parameters
29 values of two B<X509> objects and the canonical (DER) encoding values.
41 values in the given B<X509> objects I<a> and I<b>.
[all …]

12345678910>>...24