Skip to content

Commit

Permalink
linking deprecated messages
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-chrismc committed Dec 27, 2023
1 parent 5ea0f3a commit 2d4a227
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions include/jwt-cpp/jwt.h
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ namespace jwt {
*
* The string should contain a pem encoded certificate or public key
*
* \deprecated Use the templated version load_private_key_from_string with error::ecdsa_error
* \deprecated Use the templated version helper::load_private_key_from_string with error::ecdsa_error
*
* \param key String containing the certificate encoded as pem
* \param password Password used to decrypt certificate (leave empty if not encrypted)
Expand Down Expand Up @@ -871,7 +871,7 @@ namespace jwt {
*
* The string should contain a pem encoded certificate or public key
*
* \deprecated Use the templated version load_private_key_from_string with error::ecdsa_error
* \deprecated Use the templated version helper::load_private_key_from_string with error::ecdsa_error
*
* \param key String containing the certificate or key encoded as pem
* \param password Password used to decrypt certificate or key (leave empty if not encrypted)
Expand All @@ -888,7 +888,7 @@ namespace jwt {
/**
* \brief Load a private key from a string.
*
* \deprecated Use the templated version load_private_key_from_string with error::ecdsa_error
* \deprecated Use the templated version helper::load_private_key_from_string with error::ecdsa_error
*
* \param key String containing a private key as pem
* \param password Password used to decrypt key (leave empty if not encrypted)
Expand Down Expand Up @@ -1073,11 +1073,10 @@ namespace jwt {
return res;
}
#endif

/**
* \brief Load a private key from a string.
*
* \deprecated Use the templated version load_private_key_from_string with error::ecdsa_error
* \deprecated Use the templated version helper::load_private_key_from_string with error::ecdsa_error
*
* \param key String containing a private key as pem
* \param password Password used to decrypt key (leave empty if not encrypted)
Expand Down

0 comments on commit 2d4a227

Please sign in to comment.