pub fn parse_get_revoc_reg_response(
    get_revoc_reg_response: &str
) -> Box<dyn Future<Item = (String, String, u64), Error = ErrorCode>>
Expand description

Parse a GET_REVOC_REG response to get Revocation Registry in the format compatible with Anoncreds API.

Arguments

  • get_revoc_reg_response - response of GET_REVOC_REG request.

Returns

Revocation Registry Definition Id, Revocation Registry json and Timestamp. { “value”: Registry-specific data { “accum”: string - current accumulator value. }, “ver”: string - version revocation registry json }