MCPcopy Create free account
hub / github.com/docknetwork/crypto / verify

Method verify

syra/src/setup.rs:199–206  ·  view source on GitHub ↗
(
        &self,
        user_id: E::ScalarField,
        issuer_pk: &IssuerPublicKey<E>,
        params: impl Into<PreparedSetupParams<E>>,
    )

Source from the content-addressed store, hash-verified

197 }
198
199 pub fn verify(
200 &self,
201 user_id: E::ScalarField,
202 issuer_pk: &IssuerPublicKey<E>,
203 params: impl Into<PreparedSetupParams<E>>,
204 ) -> Result<(), SyraError> {
205 self.1.verify(user_id, &self.0, issuer_pk.as_ref(), params)
206 }
207}
208
209impl<E: Pairing> From<&UserSecretKey<E>> for PreparedUserSecretKey<E> {

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected