aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/emsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pk_pad/emsa.h')
-rw-r--r--src/lib/pk_pad/emsa.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/pk_pad/emsa.h b/src/lib/pk_pad/emsa.h
index f1175ca86..fe0785294 100644
--- a/src/lib/pk_pad/emsa.h
+++ b/src/lib/pk_pad/emsa.h
@@ -61,12 +61,12 @@ class BOTAN_PUBLIC_API(2,0) EMSA
size_t key_bits) = 0;
/**
- * Prepare sig_algo for use in choose_sig_format for x509 certs,
- * return padding info string
- * @param sig_algo's oid and parameters will be set properly
+ * Prepare sig_algo for use in choose_sig_format for x509 certs
+ *
* @param key used for checking compatibility with the encoding scheme
* @param cert_hash_name is checked to equal the hash for the encoding
- * @return padding string to be consumed by PK_signer
+ * @return algorithm identifier to signatures created using this key,
+ * padding method and hash.
*/
virtual AlgorithmIdentifier config_for_x509(const Private_Key& key,
const std::string& cert_hash_name) const;