| 1 | /* |
| 2 | * Copyright 2021 Red Hat Inc., Durham, North Carolina. |
| 3 | * All Rights Reserved. |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Lesser General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2.1 of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This library is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Lesser General Public |
| 16 | * License along with this library; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | * |
| 19 | * Author: |
| 20 | * Jan Černý <[email protected]> |
| 21 | */ |
| 22 | |
| 23 | #ifndef OSCAP_SIGNATURE_PRIV_H |
| 24 | #define OSCAP_SIGNATURE_PRIV_Hcxx . . $ `src/source/signature_priv.h:24:9`! |
| 25 | |
| 26 | #ifdef HAVE_CONFIG_Hcxx . . $ `<built-in>:409:9`! |
| 27 | #include <config.h>cxx . . $ `<file>/build/config.h`/ |
| 28 | #endif |
| 29 | |
| 30 | #include <stdbool.h> |
| 31 | |
| 32 | #include "oscap_source_priv.h"cxx . . $ `<file>/src/source/oscap_source_priv.h`/ |
| 33 | |
| 34 | struct oscap_signature_ctxcxx . . $ oscap_signature_ctx#; |
| 35 | |
| 36 | struct oscap_signature_ctxcxx . . $ oscap_signature_ctx# *oscap_signature_ctx_newcxx . . $ oscap_signature_ctx_new(e089c8d275a25cc5).(void); |
| 37 | void oscap_signature_ctx_freecxx . . $ oscap_signature_ctx_free(62bc863e75211872).(struct oscap_signature_ctxcxx . . $ oscap_signature_ctx# *ctx); |
| 38 | void oscap_signature_ctx_set_pubkey_pemcxx . . $ oscap_signature_ctx_set_pubkey_pem(509379dc2461682b).(struct oscap_signature_ctxcxx . . $ oscap_signature_ctx# *ctx, const char *path); |
| 39 | void oscap_signature_ctx_set_pubkey_cert_pemcxx . . $ oscap_signature_ctx_set_pubkey_cert_pem(509379dc2461682b).(struct oscap_signature_ctxcxx . . $ oscap_signature_ctx# *ctx, const char *path); |
| 40 | int oscap_signature_validatecxx . . $ oscap_signature_validate(765ad4676bbc989a).(struct oscap_sourcecxx . . $ oscap_source# *source, struct oscap_signature_ctxcxx . . $ oscap_signature_ctx# *ctx, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! enforce_signature); |
| 41 | |
| 42 | #endif /* OSCAP_SIGNATURE_PRIV_H */ |