Skip to content

Commit a6dbf1b

Browse files
Correction of the documentation comments.
Signed-off-by: Robert Drazkowski <Robert.Drazkowski@globallogic.com>
1 parent 1d72dbc commit a6dbf1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core/basic_client.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ impl BasicClient {
726726

727727
/// **[Cryptographic Operation]** Create an asymmetric signature on a message.
728728
///
729-
/// The key intended for signing **must** have its `sign_hash` flag set
729+
/// The key intended for signing **must** have its `sign_message` flag set
730730
/// to `true` in its [key policy](https://docs.rs/parsec-interface/*/parsec_interface/operations/psa_key_attributes/struct.Policy.html).
731731
///
732732
/// The signature will be created with the algorithm defined in
@@ -739,7 +739,7 @@ impl BasicClient {
739739
/// of `InvalidProvider` type is returned.
740740
///
741741
/// See the operation-specific response codes returned by the service
742-
/// [here](https://parallaxsecond.github.io/parsec-book/parsec_client/operations/psa_sign_hash.html#specific-response-status-codes).
742+
/// [here](https://parallaxsecond.github.io/parsec-book/parsec_client/operations/psa_sign_message.html#specific-response-status-codes).
743743
pub fn psa_sign_message(
744744
&self,
745745
key_name: String,
@@ -772,7 +772,7 @@ impl BasicClient {
772772

773773
/// **[Cryptographic Operation]** Verify an existing asymmetric signature over a message.
774774
///
775-
/// The key intended for signing **must** have its `verify_hash` flag set
775+
/// The key intended for signing **must** have its `verify_message` flag set
776776
/// to `true` in its [key policy](https://docs.rs/parsec-interface/*/parsec_interface/operations/psa_key_attributes/struct.Policy.html).
777777
///
778778
/// The signature will be verifyied with the algorithm defined in
@@ -785,7 +785,7 @@ impl BasicClient {
785785
/// of `InvalidProvider` type is returned.
786786
///
787787
/// See the operation-specific response codes returned by the service
788-
/// [here](https://parallaxsecond.github.io/parsec-book/parsec_client/operations/psa_verify_hash.html#specific-response-status-codes).
788+
/// [here](https://parallaxsecond.github.io/parsec-book/parsec_client/operations/psa_verify_message.html#specific-response-status-codes).
789789
pub fn psa_verify_message(
790790
&self,
791791
key_name: String,

0 commit comments

Comments
 (0)