diff options
author | lloyd <[email protected]> | 2010-06-15 23:39:39 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-15 23:39:39 +0000 |
commit | ad40b8c078dab4c8ba8c9ca5f4815cef241b5e47 (patch) | |
tree | cafd4dc9e065c1f1920791c07faf03dd14377729 | |
parent | 5f39fe65796f23053bea695f06167b672830f605 (diff) |
Use Doxygen deprecation warnings
-rw-r--r-- | src/pubkey/pkcs8.h | 9 | ||||
-rw-r--r-- | src/pubkey/x509_key.h | 4 |
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 |