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