生成证书接口

/**
 生成证书

 条件:需先调用“实名认证”接口

 @param voucherID 凭证号
 @param certType 证书类型 GDCACertType
 @param isProgressbar 是否需要loading YES:有loading, NO:无loading
 @param successBlock 成功回调
 @param failureBlock 失败回调
 */
- (void)createCert:(NSString *)voucherID certType:(GDCACertType)certType isProgressbar:(BOOL)isProgressbar success:(void(^)(NSString *msg))successBlock failure:(void(^)(NSInteger code, NSString *msg))failureBlock;

//使用样例
NSString *voucherId = @"skajflkdsdjkfhsdkafhdjksbafkj";
[[SignManager shared] createCert:voucherId certType:GDCACertTypeSM2 isProgressbar:YES success:^(NSString *msg) {
} failure:^(NSInteger code, NSString *msg) {
}];

results matching ""

    No results matching ""