       this.mutipart_from.private_key = pemToBase64(this.mutipart_from.private_key)
                    }
                }
            },
            "generate_from.private_key_type"(newVal) {
                if(newVal == 2){
                    this.private_key_bits = [512,1024,2048]
                }else{
                    this.private_key_bits = [512,1024,2048,4096]
                }
            }
        },
        methods: {
            generate() {
                var that=this;
    