Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
keks committed Sep 5, 2024
1 parent 5067034 commit 9ecb0ce
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 9ecb0ce

Please sign in to comment.