Lines Matching defs:tmpl
303 cert_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode)
308 if (! tmpl)
312 found = template_attribute_find(tmpl,
319 return (template_check_required_base_attributes(tmpl, mode));
326 cert_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode)
347 return (template_validate_base_attribute(tmpl, attr, mode));
352 cert_x509_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) {
356 found = template_attribute_find(tmpl, CKA_SUBJECT, &attr);
360 found = template_attribute_find(tmpl, CKA_VALUE, &attr);
364 return (cert_check_required_attributes(tmpl, mode));
377 cert_x509_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode)
410 (void) template_update_attribute(tmpl, id_attr);
411 (void) template_update_attribute(tmpl, issuer_attr);
412 (void) template_update_attribute(tmpl, serial_attr);
418 cert_x509_validate_attribute(TEMPLATE *tmpl,
440 return (cert_validate_attribute(tmpl, attr, mode));
445 cert_vendor_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode)
447 return (cert_check_required_attributes(tmpl, mode));
451 cert_vendor_validate_attribute(TEMPLATE *tmpl,
454 return (cert_validate_attribute(tmpl, attr, mode));