signapi: expose metadata format and key

Explicitly expose functions for querying the metadata format
and key name used by OstreeSign object:
 - ostree_sign_metadata_format
 - ostree_sign_metadata_key

This allows to use the same metadata format and key name
by 3-rd party applications using signapi.

Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
This commit is contained in:
Denis Pynkin 2020-04-24 16:34:50 +00:00
parent a05c99d933
commit ee5d0f350f
2 changed files with 4 additions and 0 deletions

View File

@ -719,6 +719,8 @@ ostree_sign_get_name
ostree_sign_add_pk ostree_sign_add_pk
ostree_sign_clear_keys ostree_sign_clear_keys
ostree_sign_load_pk ostree_sign_load_pk
ostree_sign_metadata_format
ostree_sign_metadata_key
ostree_sign_set_pk ostree_sign_set_pk
ostree_sign_set_sk ostree_sign_set_sk
ostree_sign_summary ostree_sign_summary

View File

@ -32,6 +32,8 @@ global:
ostree_sign_get_name; ostree_sign_get_name;
ostree_sign_clear_keys; ostree_sign_clear_keys;
ostree_sign_load_pk; ostree_sign_load_pk;
ostree_sign_metadata_format;
ostree_sign_metadata_key;
ostree_sign_set_pk; ostree_sign_set_pk;
ostree_sign_add_pk; ostree_sign_add_pk;
ostree_sign_set_sk; ostree_sign_set_sk;