core.Map<core.String, core.dynamic> toJson() => { if (certInfo != null) 'certInfo': certInfo!, if (certPrivateKey != null) 'certPrivateKey': certPrivateKey!, };