Home
last modified time | relevance | path

Searched refs:VAL_OCSP_BASIC (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libkmf/include/
H A Dkmfpolicy.h97 #define VAL_OCSP_BASIC VAL_OCSP.basic macro
98 #define VAL_OCSP_RESPONDER_URI VAL_OCSP_BASIC.responderURI
99 #define VAL_OCSP_PROXY VAL_OCSP_BASIC.proxy
100 #define VAL_OCSP_URI_FROM_CERT VAL_OCSP_BASIC.uri_from_cert
101 #define VAL_OCSP_RESP_LIFETIME VAL_OCSP_BASIC.response_lifetime
102 #define VAL_OCSP_IGNORE_RESP_SIGN VAL_OCSP_BASIC.ignore_response_sign
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dlist.c104 plc->VAL_OCSP_BASIC.responderURI ? in show_policy()
105 plc->VAL_OCSP_BASIC.responderURI : "<null>"); in show_policy()
108 plc->VAL_OCSP_BASIC.proxy ? in show_policy()
109 plc->VAL_OCSP_BASIC.proxy : "<null>"); in show_policy()
112 "%s\n"), plc->VAL_OCSP_BASIC.uri_from_cert ? in show_policy()
116 plc->VAL_OCSP_BASIC.response_lifetime ? in show_policy()
117 plc->VAL_OCSP_BASIC.response_lifetime : "<null>"); in show_policy()
120 plc->VAL_OCSP_BASIC.ignore_response_sign ? in show_policy()
H A Dmodify.c689 if (oplc.VAL_OCSP_BASIC.responderURI) { in kc_modify_policy()
690 free(oplc.VAL_OCSP_BASIC.responderURI); in kc_modify_policy()
691 oplc.VAL_OCSP_BASIC.responderURI = NULL; in kc_modify_policy()
694 if (oplc.VAL_OCSP_BASIC.proxy) { in kc_modify_policy()
695 free(oplc.VAL_OCSP_BASIC.proxy); in kc_modify_policy()
696 oplc.VAL_OCSP_BASIC.proxy = NULL; in kc_modify_policy()
699 if (oplc.VAL_OCSP_BASIC.response_lifetime) { in kc_modify_policy()
700 free(oplc.VAL_OCSP_BASIC.response_lifetime); in kc_modify_policy()
701 oplc.VAL_OCSP_BASIC.response_lifetime = NULL; in kc_modify_policy()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c874 if (policy->VAL_OCSP_BASIC.uri_from_cert == 0) { in kmf_get_ocsp_for_cert()
875 if (policy->VAL_OCSP_BASIC.responderURI == NULL) { in kmf_get_ocsp_for_cert()
879 host_uri = policy->VAL_OCSP_BASIC.responderURI; in kmf_get_ocsp_for_cert()
932 if (policy->VAL_OCSP_BASIC.proxy != NULL) { in kmf_get_ocsp_for_cert()
935 strtok_r(policy->VAL_OCSP_BASIC.proxy, ":", &last); in kmf_get_ocsp_for_cert()
H A Dpolicy.c831 FREE_POLICY_STR(policy->VAL_OCSP_BASIC.responderURI) in kmf_free_policy_record()
832 FREE_POLICY_STR(policy->VAL_OCSP_BASIC.proxy) in kmf_free_policy_record()
833 FREE_POLICY_STR(policy->VAL_OCSP_BASIC.response_lifetime) in kmf_free_policy_record()
1315 if ((policy->VAL_OCSP_BASIC.responderURI == NULL && in kmf_verify_policy()
1316 policy->VAL_OCSP_BASIC.uri_from_cert == B_FALSE) || in kmf_verify_policy()
1317 (policy->VAL_OCSP_BASIC.responderURI != NULL && in kmf_verify_policy()
1318 policy->VAL_OCSP_BASIC.uri_from_cert == B_TRUE)) in kmf_verify_policy()
H A Dcertop.c1760 if (policy->VAL_OCSP_BASIC.response_lifetime != NULL && in cert_ocsp_check()
1761 (str2lifetime(policy->VAL_OCSP_BASIC.response_lifetime, &ltime) in cert_ocsp_check()
1772 ignore_response_sign = policy->VAL_OCSP_BASIC.ignore_response_sign; in cert_ocsp_check()