Method
verify
(
&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 | |
| 209 | impl<E: Pairing> From<&UserSecretKey<E>> for PreparedUserSecretKey<E> { |
Callers
nothing calls this directly
Tested by
no test coverage detected