[][src]Function wedpr_s_selective_certificate_disclosure::user::prove_selective_disclosure

pub fn prove_selective_disclosure(
    rule_set: &VerificationRuleSet,
    certificate_signature: &CertificateSignature,
    attribute_dict: &AttributeDict,
    certificate_template: &CertificateTemplate,
    user_private_key_str: &str,
    verification_nonce_str: &str
) -> Result<VerifyRequest, WedprError>

Generate a VerifyRequest to prove the validity of selected attribute values and their value predicates from a certificate, while those unselected attributes will not be revealed.