Lines Matching refs:vpm
707 int opt_verify(int opt, X509_VERIFY_PARAM *vpm) in opt_verify() argument
715 OPENSSL_assert(vpm != NULL); in opt_verify()
729 if (!X509_VERIFY_PARAM_add0_policy(vpm, otmp)) { in opt_verify()
750 if (!X509_VERIFY_PARAM_set_purpose(vpm, i)) { in opt_verify()
763 X509_VERIFY_PARAM_set1(vpm, vtmp); in opt_verify()
768 X509_VERIFY_PARAM_set_depth(vpm, i); in opt_verify()
773 X509_VERIFY_PARAM_set_auth_level(vpm, i); in opt_verify()
783 X509_VERIFY_PARAM_set_time(vpm, (time_t)t); in opt_verify()
786 if (!X509_VERIFY_PARAM_set1_host(vpm, opt_arg(), 0)) in opt_verify()
790 if (!X509_VERIFY_PARAM_set1_email(vpm, opt_arg(), 0)) in opt_verify()
794 if (!X509_VERIFY_PARAM_set1_ip_asc(vpm, opt_arg())) in opt_verify()
798 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_IGNORE_CRITICAL); in opt_verify()
804 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_CRL_CHECK); in opt_verify()
807 X509_VERIFY_PARAM_set_flags(vpm, in opt_verify()
812 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_POLICY_CHECK); in opt_verify()
815 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_EXPLICIT_POLICY); in opt_verify()
818 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_INHIBIT_ANY); in opt_verify()
821 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_INHIBIT_MAP); in opt_verify()
824 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_X509_STRICT); in opt_verify()
827 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_EXTENDED_CRL_SUPPORT); in opt_verify()
830 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_USE_DELTAS); in opt_verify()
833 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_NOTIFY_POLICY); in opt_verify()
836 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_CHECK_SS_SIGNATURE); in opt_verify()
839 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_TRUSTED_FIRST); in opt_verify()
842 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_SUITEB_128_LOS_ONLY); in opt_verify()
845 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_SUITEB_128_LOS); in opt_verify()
848 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_SUITEB_192_LOS); in opt_verify()
851 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_PARTIAL_CHAIN); in opt_verify()
854 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_NO_ALT_CHAINS); in opt_verify()
857 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_NO_CHECK_TIME); in opt_verify()
860 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_ALLOW_PROXY_CERTS); in opt_verify()