pub fn parse_get_cred_def_response(get_cred_def_response: &str) -> Box<dyn Future<Item=(String, String), Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string_string();

    let err = _parse_get_cred_def_response(command_handle, get_cred_def_response, cb);

    ResultHandler::str_str(command_handle, err, receiver)
}
/// Parse a GET_CRED_DEF response to get Credential Definition in the format compatible with Anoncreds API.
///
/// # Arguments
/// * `get_cred_def_response` - response of GET_CRED_DEF request.
///
/// # Returns
/// Credential Definition Id and Credential Definition json.
/// {
///     id: string - identifier of credential definition
///     schemaId: string - identifier of stored in ledger schema
///     type: string - type of the credential definition. CL is the only supported type now.
///     tag: string - allows to distinct between credential definitions for the same issuer and schema
///     value: Dictionary with Credential Definition's data: {
///         primary: primary credential public key,
///         Optional<revocation>: revocation credential public key
///     },
///     ver: Version of the Credential Definition json
/// }
Parse a GET_CRED_DEF response to get Credential Definition in the format compatible with Anoncreds API.
Parse a GET_CRED_DEF response to get Credential Definition in the format compatible with Anoncreds API .
pub fn parse_get_cred_def_response(get_cred_def_response: &str) -> Box<dyn Future<Item=(String, String), Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string_string();
    let err = _parse_get_cred_def_response(command_handle, get_cred_def_response, cb);
    ResultHandler::str_str(command_handle, err, receiver)
}
pub fn parse_get_cred_def_response ( get_cred_def_response : & str ) -> Box < dyn Future < Item = ( String , String ) , Error = IndyError > > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string_string ( ) ; let err = _parse_get_cred_def_response ( command_handle , get_cred_def_response , cb ) ; ResultHandler :: str_str ( command_handle , err , receiver ) }
Parse a GET_CRED_DEF response to get Credential Definition in the format compatible with Anoncreds API.
Parse a GET_CRED_DEF response to get Credential Definition in the format compatible with Anoncreds API .
get_cred_def_response
&str
Credential Definition Id and Credential Definition json.
{
id: string - identifier of credential definition
schemaId: string - identifier of stored in ledger schema
type: string - type of the credential definition. CL is the only supported type now.
tag: string - allows to distinct between credential definitions for the same issuer and schema
value: Dictionary with Credential Definition's data: {
primary: primary credential public key,
Optional: revocation credential public key
},
ver: Version of the Credential Definition json
}
Credential Definition Id and Credential Definition json . { id : string - identifier of credential definition schemaId : string - identifier of stored in ledger schema type : string - type of the credential definition . CL is the only supported type now . tag : string - allows to distinct between credential definitions for the same issuer and schema value : Dictionary with Credential Definition ' s data : { primary : primary credential public key Optional : revocation credential public key } ver : Version of the Credential Definition json }
get_cred_def_response
&str