factory ExtendedKeyUsage.fromJson(Map<String, dynamic> json) { return ExtendedKeyUsage( name: (json['Name'] as String?)?.toExtendedKeyUsageName(), oid: json['OID'] as String?, ); }