Lines Matching refs:openvpn_x509_cert_t
58 result_t verify_cert(struct tls_session *session, openvpn_x509_cert_t *cert, int cert_depth);
88 char *x509_get_subject (openvpn_x509_cert_t *cert, struct gc_arena *gc);
97 unsigned char *x509_get_sha1_hash (openvpn_x509_cert_t *cert, struct gc_arena *gc);
113 char * x509_username_field, openvpn_x509_cert_t *peer_cert);
125 char *x509_get_serial (openvpn_x509_cert_t *cert, struct gc_arena *gc);
136 void x509_setenv (struct env_set *es, int cert_depth, openvpn_x509_cert_t *cert);
175 const int depth, openvpn_x509_cert_t *x509);
190 result_t x509_verify_ns_cert_type(const openvpn_x509_cert_t *cert, const int usage);
204 result_t x509_verify_cert_ku (openvpn_x509_cert_t *x509, const unsigned * const expected_ku,
220 result_t x509_verify_cert_eku (openvpn_x509_cert_t *x509, const char * const expected_oid);
233 result_t x509_write_pem(FILE *peercert_file, openvpn_x509_cert_t *peercert);
246 result_t x509_verify_crl(const char *crl_file, openvpn_x509_cert_t *cert,