aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pubkey/pkcs8.h9
-rw-r--r--src/pubkey/x509_key.h4
2 files changed, 9 insertions, 4 deletions
diff --git a/src/pubkey/pkcs8.h b/src/pubkey/pkcs8.h
index 24f28086b..542d5bb2d 100644
--- a/src/pubkey/pkcs8.h
+++ b/src/pubkey/pkcs8.h
@@ -71,7 +71,9 @@ BOTAN_DLL std::string PEM_encode(const Private_Key& key,
/**
-* Encode a private key into a pipe. This function is deprecated.
+* Encode a private key into a pipe.
+* @deprecated Use PEM_encode or BER_encode instead
+*
* @param key the private key to encode
* @param pipe the pipe to feed the encoded key into
* @param encoding the encoding type to use
@@ -87,8 +89,9 @@ inline void encode(const Private_Key& key,
}
/**
-* Encode and encrypt a private key into a pipe. This function is
-* deprecated.
+* Encode and encrypt a private key into a pipe.
+* @deprecated Use PEM_encode or BER_encode instead
+*
* @param key the private key to encode
* @param pipe the pipe to feed the encoded key into
* @param pass the password to use for encryption
diff --git a/src/pubkey/x509_key.h b/src/pubkey/x509_key.h
index 4ac6eab3d..4b17f9974 100644
--- a/src/pubkey/x509_key.h
+++ b/src/pubkey/x509_key.h
@@ -75,7 +75,9 @@ BOTAN_DLL Key_Constraints find_constraints(const Public_Key& pub_key,
Key_Constraints limits);
/**
-* Encode a key into a pipe. This function is deprecated.
+* Encode a key into a pipe.
+* @deprecated Use PEM_encode or BER_encode instead
+*
* @param key the public key to encode
* @param pipe the pipe to feed the encoded key into
* @param encoding the encoding type to use