From: Tobias Brunner Date: Mon, 15 Oct 2018 11:16:06 +0000 (+0200) Subject: libtpmtss: TSS can optionally return signature schemes supported by a key X-Git-Tag: 5.7.2dr1~9^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=532cd488e35335a4cf680d054b3d797e405de4f6;p=thirdparty%2Fstrongswan.git libtpmtss: TSS can optionally return signature schemes supported by a key --- diff --git a/src/libtpmtss/tpm_tss.h b/src/libtpmtss/tpm_tss.h index 11e4a7c157..a239e4dc47 100644 --- a/src/libtpmtss/tpm_tss.h +++ b/src/libtpmtss/tpm_tss.h @@ -1,4 +1,5 @@ /* + * Copyright (C) 2018 Tobias Brunner * Copyright (C) 2016 Andreas Steffen * HSR Hochschule fuer Technik Rapperswil * @@ -79,6 +80,15 @@ struct tpm_tss_t { */ chunk_t (*get_public)(tpm_tss_t *this, uint32_t handle); + /** + * Return signature schemes supported by the given key (TPM 2.0 only) + * + * @param handle key object handle + * @return enumerator over signature_params_t* + */ + enumerator_t *(*supported_signature_schemes)(tpm_tss_t *this, + uint32_t handle); + /** * Retrieve the current value of a PCR register in a given PCR bank *