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

1234567

/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/pem/
H A Dpem_x509.c67 IMPLEMENT_PEM_rw(X509, X509, PEM_STRING_X509, X509)
H A Dpem_xaux.c67 IMPLEMENT_PEM_rw(X509_AUX, X509, PEM_STRING_X509_TRUSTED, X509_AUX)
/netbsd-6-1-5-RELEASE/usr.sbin/syslogd/
H A Dtls.h163 bool read_certfile(X509 **, const char *);
164 bool write_x509files(EVP_PKEY *, X509 *, const char *, const char *);
165 bool mk_x509_cert(X509 **, EVP_PKEY **, int, int, int);
166 bool x509_cert_add_subjectAltName(X509 *, X509V3_CTX *);
169 bool get_fingerprint(const X509 *, char **, const char *);
170 bool get_commonname(X509 *, char **);
171 bool match_hostnames(X509 *, const char *, const char *);
172 bool match_fingerprint(const X509 *, const char *);
173 bool match_certfile(const X509 *, const char *);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dx509_cmp.c67 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b)
80 unsigned long X509_issuer_and_serial_hash(X509 *a)
108 int X509_issuer_name_cmp(const X509 *a, const X509 *b)
113 int X509_subject_name_cmp(const X509 *a, const X509 *b)
130 X509_NAME *X509_get_issuer_name(X509 *a)
135 unsigned long X509_issuer_name_hash(X509 *x)
141 unsigned long X509_issuer_name_hash_old(X509 *
[all...]
H A Dx509_vfy.h129 X509 *x509;
197 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */
198 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */
200 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
202 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
203 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
236 X509 *cert; /* The cert to check */
237 STACK_OF(X509) *untruste
[all...]
H A Dx509.h309 } /* X509 */;
311 DECLARE_STACK_OF(X509)
312 DECLARE_ASN1_SET_OF(X509)
319 int (*check_trust)(struct x509_trust_st *, X509 *, int);
328 X509 *forward;
329 X509 *reverse;
513 X509 *x509;
548 STACK_OF(X509) *certs;
647 int X509_verify(X509 *a, EVP_PKEY *r);
663 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)
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)
H A Dx509_ext.c115 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)
155 int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit,
H A Dx509_trs.c68 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 *, in
[all...]
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,
123 X509_CRL *crl, X509 *x);
125 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x);
129 X509 **pissuer, int *pcrl_score);
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;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/asn1/
H A Dx_x509.c80 /* X509 top level structure needs a bit of customisation */
87 X509 *ret = (X509 *)*pval;
135 ASN1_SEQUENCE_ref(X509, x509_cb, CRYPTO_LOCK_X509) = {
136 ASN1_SIMPLE(X509, cert_info, X509_CINF),
137 ASN1_SIMPLE(X509, sig_alg, X509_ALGOR),
138 ASN1_SIMPLE(X509, signature, ASN1_BIT_STRING)
139 } ASN1_SEQUENCE_END_ref(X509, X509)
141 IMPLEMENT_ASN1_FUNCTIONS(X509)
[all...]
H A Dx_x509a.c67 * appended to the X509 encoding when the *_X509_AUX routines
68 * are used. This means that the "traditional" X509 routines
72 static X509_CERT_AUX *aux_get(X509 *x);
84 static X509_CERT_AUX *aux_get(X509 *x)
91 int X509_alias_set1(X509 *x, unsigned char *name, int len)
107 int X509_keyid_set1(X509 *x, unsigned char *id, int len)
123 unsigned char *X509_alias_get0(X509 *x, int *len)
130 unsigned char *X509_keyid_get0(X509 *x, int *len)
137 int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj)
148 int X509_add1_reject_object(X509 *
[all...]
H A Dx_nx509.c68 ASN1_OPT(NETSCAPE_X509, cert, X509)
H A Dnsseq.c80 ASN1_EXP_SEQUENCE_OF_OPT(NETSCAPE_CERT_SEQUENCE, certs, X509, 0)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/ocsp/
H A Docsp_vfy.c63 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
65 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
66 static int ocsp_check_issuer(OCSP_BASICRESP *bs, STACK_OF(X509) *chain, unsigned long flags);
68 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid, STACK_OF(OCSP_SINGLERESP) *sresp);
69 static int ocsp_check_delegated(X509 *x, int flags);
70 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *certs,
75 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *cert
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/x509v3/
H A Dv3_purp.c64 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 *
[all...]
H A Dpcy_int.h147 X509 *cert;
188 int policy_cache_set_mapping(X509 *x, POLICY_MAPPINGS *maps);
212 const X509_POLICY_CACHE *policy_cache_set(X509 *x);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/cms/
H A Dcms.h141 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,
184 int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cer
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/pkcs12/
H A Dp12_kiss.c66 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) *ocert
[all...]
H A Dp12_utl.c121 PKCS12_SAFEBAG *PKCS12_x5092certbag(X509 *x509)
123 return PKCS12_item_pack_safebag(x509, ASN1_ITEM_rptr(X509),
133 X509 *PKCS12_certbag2x509(PKCS12_SAFEBAG *bag)
137 return ASN1_item_unpack(bag->value.bag->value.octet, ASN1_ITEM_rptr(X509));
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/pkcs7/
H A Dpkcs7.h115 X509 *cert; /* get the pub-key from this */
125 STACK_OF(X509) *cert; /* [ 0 ] */
153 STACK_OF(X509) *cert; /* [ 0 ] */
314 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
318 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509);
324 X509 *x509);
328 BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert);
331 PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509,
333 X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si);
337 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);
/netbsd-6-1-5-RELEASE/usr.bin/nbsvtool/
H A Dnbsvtool.c71 sign_file(X509 *cert, EVP_PKEY *private_key, STACK_OF(X509) *cert_chain,
107 verify_file(STACK_OF(X509) *cert_chain, const char *anchor,
110 STACK_OF(X509) *signers;
186 static STACK_OF(X509) *
189 STACK_OF(X509) *certs;
197 X509 *cert;
231 X509 *certificate;
232 STACK_OF(X509) *cert_chain;
246 STACK_OF(X509) *
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/demos/x509/
H A Dmkcert.c16 int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days);
17 int add_ext(X509 *cert, int nid, char *value);
22 X509 *x509=NULL;
61 int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days)
63 X509 *x;
153 int add_ext(X509 *cert, int nid, char *value)

Completed in 204 milliseconds

1234567