Open SCAP Library
Loading...
Searching...
No Matches
cvrf_doc_publisher Struct Reference

Public Member Functions

cvrf_doc_publisher_type_t cvrf_doc_publisher_get_type (struct cvrf_doc_publisher *publisher)
 Retrieve type of publisher for the CVRF document.
xmlNode * cvrf_doc_publisher_to_dom (struct cvrf_doc_publisher *publisher)
 Parent: CVRF Model root node.
OSCAP_API struct cvrf_doc_publishercvrf_doc_publisher_new (void)
 New CVRF DocumentPublisher structure.
OSCAP_API void cvrf_doc_publisher_free (struct cvrf_doc_publisher *publisher)
 Deallocates memory for a DocumentPublisher element.
OSCAP_API struct cvrf_doc_publishercvrf_doc_publisher_clone (const struct cvrf_doc_publisher *publisher)
OSCAP_API const char * cvrf_doc_publisher_get_vendor_id (const struct cvrf_doc_publisher *publisher)
OSCAP_API const char * cvrf_doc_publisher_get_contact_details (const struct cvrf_doc_publisher *publisher)
OSCAP_API const char * cvrf_doc_publisher_get_issuing_authority (const struct cvrf_doc_publisher *publisher)
OSCAP_API bool cvrf_doc_publisher_set_vendor_id (struct cvrf_doc_publisher *publisher, const char *vendor_id)
OSCAP_API bool cvrf_doc_publisher_set_contact_details (struct cvrf_doc_publisher *publisher, const char *contact_details)
OSCAP_API bool cvrf_doc_publisher_set_issuing_authority (struct cvrf_doc_publisher *publisher, const char *issuing_authority)

Data Fields

cvrf_doc_publisher_type_t type
char * vendor_id
char * contact_details
char * issuing_authority

Member Function Documentation

◆ cvrf_doc_publisher_get_type()

cvrf_doc_publisher_type_t cvrf_doc_publisher_get_type ( struct cvrf_doc_publisher * publisher)

Retrieve type of publisher for the CVRF document.

Parameters
publisherCVRF DocumentPublisher structure
Returns
Enum representing Type attribute of the DocumentPublisher element

◆ cvrf_doc_publisher_to_dom()

xmlNode * cvrf_doc_publisher_to_dom ( struct cvrf_doc_publisher * publisher)

Parent: CVRF Model root node.

Parameters
publisherCVRF DocumentPublisher structure to be exported to XML
Returns
xmlNode representing DocumentPublisher element

The documentation for this struct was generated from the following files: