Files
s390-tools/zkey/ekmfweb/zkey-ekmfweb.h
T
Ingo Franzki 3c6890317a zkey-ekmfweb: Configure APQNs and cross check APKA master keys
The EKMF Web plugin requires APQNs of one or multiple IBM cryptographic
adapters in CCA coprocessor mode to operate. It makes use of secure
RSA and ECC keys, and thus requires the APKA master keys of the CCA APQNs
to be set.

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2020-10-12 13:12:55 +02:00

35 lines
677 B
C

/*
* zkey-ekmfweb - EKMFWeb zkey KMS plugin
*
* Copyright IBM Corp. 2020
*
* s390-tools is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef ZKEY_EKMFWEB_H
#define ZKEY_EKMFWEB_H
#include <stddef.h>
#include <stdbool.h>
#include <sys/stat.h>
#include "ekmfweb/ekmfweb.h"
struct plugin_handle {
const char *config_path;
mode_t config_path_mode;
gid_t config_path_owner;
struct properties *properties;
bool apqns_configured;
bool config_complete;
char error_msg[1024];
bool verbose;
};
#define EKMFWEB_CONFIG_FILE "ekmfweb.conf"
#define EKMFWEB_CONFIG_APQNS "apqns"
#endif