|
@@ -113,7 +113,8 @@ static void show_help(struct ts *ts) {
|
113
|
113
|
printf("\n");
|
114
|
114
|
printf("CAMD server options:\n");
|
115
|
115
|
printf(" -c --ca-system <ca_sys> | Process input EMM/ECM from <ca_sys>. Default: %s\n", ts_get_CA_sys_txt(ts->req_CA_sys));
|
116
|
|
- printf(" | Valid idents are: CONAX, CRYPTOWORKS and IRDETO\n");
|
|
116
|
+ printf(" | Valid idents are: CONAX, CRYPTOWORKS, IRDETO, SECA (MEDIAGUARD),\n");
|
|
117
|
+ printf(" | VIACCESS, VIDEOGUARD (NDS), NAGRA and DRECRYPT.\n");
|
117
|
118
|
printf(" -s --camd-server <addr> | CAMD server address and port. Example: 1.2.3.4:2233. Default: not set\n");
|
118
|
119
|
printf(" -U --camd-user <user> | CAMD server user. Default: %s\n", ts->camd35.user);
|
119
|
120
|
printf(" -P --camd-pass <pass> | CAMD server password. Default: %s\n", ts->camd35.pass);
|
|
@@ -216,6 +217,16 @@ static void parse_options(struct ts *ts, int argc, char **argv) {
|
216
|
217
|
ts->req_CA_sys = CA_CONAX;
|
217
|
218
|
else if (strcasecmp("CRYPTOWORKS", optarg) == 0)
|
218
|
219
|
ts->req_CA_sys = CA_CRYPTOWORKS;
|
|
220
|
+ else if (strcasecmp("SECA", optarg) == 0 || strcasecmp("MEDIAGUARD", optarg) == 0)
|
|
221
|
+ ts->req_CA_sys = CA_SECA;
|
|
222
|
+ else if (strcasecmp("VIACCESS", optarg) == 0)
|
|
223
|
+ ts->req_CA_sys = CA_VIACCESS;
|
|
224
|
+ else if (strcasecmp("VIDEOGUARD", optarg) == 0 || strcasecmp("NDS", optarg) == 0)
|
|
225
|
+ ts->req_CA_sys = CA_VIDEOGUARD;
|
|
226
|
+ else if (strcasecmp("NAGRA", optarg) == 0)
|
|
227
|
+ ts->req_CA_sys = CA_NAGRA;
|
|
228
|
+ else if (strcasecmp("DRE-CRYPT", optarg) == 0 || strcasecmp("DRECRYPT", optarg) == 0)
|
|
229
|
+ ts->req_CA_sys = CA_DRECRYPT;
|
219
|
230
|
else
|
220
|
231
|
ca_err = 1;
|
221
|
232
|
break;
|