pub fn issue_verify(
vk_auth: &VerificationKeyAuth,
sk_user: &SecretKeyUser,
blind_signature: &BlindedSignature,
req_info: &RequestInfo,
signer_index: u64,
) -> Result<PartialWallet, CompactEcashError>Expand description
Verifies the integrity and correctness of a blinded signature and returns an unblinded partial zk-nym wallet.
This function first verifies the integrity of the received blinded signature by checking
if the joined commitment hash matches the one provided in the req_info. If the verification
is successful, it proceeds to unblind the blinded signature and verify its correctness.
§Arguments
vk_auth- Verification key of the signing authority.sk_user- Secret key of the user.blind_signature- Blinded signature received from the authority.req_info- Information associated with the request, including the joined commitment hash, private attributes openings, v, and expiration date.
§Returns
Returns a PartialWallet if the verification process is successful, otherwise returns an error
with a specific message indicating the failure.