summaryrefslogtreecommitdiff
path: root/src/libtpmtss/tpm_tss.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtpmtss/tpm_tss.h')
-rw-r--r--src/libtpmtss/tpm_tss.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/libtpmtss/tpm_tss.h b/src/libtpmtss/tpm_tss.h
index 11e4a7c15..aab7a4d6c 100644
--- a/src/libtpmtss/tpm_tss.h
+++ b/src/libtpmtss/tpm_tss.h
@@ -1,5 +1,6 @@
/*
- * Copyright (C) 2016 Andreas Steffen
+ * Copyright (C) 2018 Tobias Brunner
+ * Copyright (C) 2016-2018 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
@@ -80,6 +81,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
*
* @param pcr_num PCR number