aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc/pem
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/misc/pem')
-rw-r--r--src/lib/misc/pem/pem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/misc/pem/pem.h b/src/lib/misc/pem/pem.h
index aaae5ee35..acbd40a77 100644
--- a/src/lib/misc/pem/pem.h
+++ b/src/lib/misc/pem/pem.h
@@ -16,6 +16,10 @@ namespace PEM_Code {
/**
* Encode some binary data in PEM format
+* @param data binary data to encode
+* @param data_len length of binary data in bytes
+* @param label PEM label put after BEGIN and END
+* @param line_width after this many characters, a new line is inserted
*/
BOTAN_DLL std::string encode(const byte data[],
size_t data_len,
@@ -24,6 +28,9 @@ BOTAN_DLL std::string encode(const byte data[],
/**
* Encode some binary data in PEM format
+* @param data binary data to encode
+* @param label PEM label
+* @param line_width after this many characters, a new line is inserted
*/
inline std::string encode(const std::vector<byte>& data,
const std::string& label,
@@ -34,6 +41,9 @@ inline std::string encode(const std::vector<byte>& data,
/**
* Encode some binary data in PEM format
+* @param data binary data to encode
+* @param label PEM label put after BEGIN and END
+* @param line_width after this many characters, a new line is inserted
*/
inline std::string encode(const secure_vector<byte>& data,
const std::string& label,