Skip to content

Commit

Permalink
Merge pull request openmls#1653 from openmls/keks/fix-docs
Browse files Browse the repository at this point in the history
Fix docs
  • Loading branch information
franziskuskiefer authored Sep 9, 2024
2 parents 5067034 + 9ecb0ce commit 7f3db49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openmls/src/ciphersuite/signable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ pub trait Verifiable: Sized {
pk: &OpenMlsSignaturePublicKey,
) -> Result<Self::VerifiedStruct, SignatureError>;

/// Verifies the payload against the given `credential`.
/// Verifies the payload against the given public key.
/// The signature is fetched via the [`Verifiable::signature()`] function and
/// the payload via [`Verifiable::unsigned_payload()`].
///
/// Returns `Ok(())` if the signature is valid and
/// `CredentialError::InvalidSignature` otherwise.
/// [`SignatureError::VerificationError`] otherwise.
fn verify_no_out(
&self,
crypto: &impl OpenMlsCrypto,
Expand Down

0 comments on commit 7f3db49

Please sign in to comment.