Map<String, dynamic> toJson() { final certificateChain = this.certificateChain; final privateKey = this.privateKey; return { 'certificateChain': certificateChain, 'privateKey': privateKey, }; }