            return httpPost('/api/{$plugin.alias}/generate', {
                    ...this.generate_from,
                    pass_phrase: this.mutipart_from.pass_phrase
                }, function(data){
                    that.mutipart_from.public_key = data.public_key
                    that.mutipart_from.private_key = data.private_key
                    if(that.mutipart_from.key_type == 'base64'){
                        that.mutipart_from.public_key = pemToBase64(that.mutipart_from.public_key